summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/oem-extension-numbering.md2
-rw-r--r--ipmisensor.cpp2
-rw-r--r--sensordatahandler.cpp2
-rw-r--r--transporthandler.cpp16
-rw-r--r--utils.cpp4
5 files changed, 13 insertions, 13 deletions
diff --git a/docs/oem-extension-numbering.md b/docs/oem-extension-numbering.md
index f6ff569..d87e0aa 100644
--- a/docs/oem-extension-numbering.md
+++ b/docs/oem-extension-numbering.md
@@ -79,7 +79,7 @@ These are the Command codes allocated for use with the OpenBMC OEM Number.
### I2C Device Access (Command 2)
The next subsections describe command and response messages supporting
-the I2C Device Access extension OpenBMC OEM extenstion (command code 2).
+the I2C Device Access extension OpenBMC OEM extension (command code 2).
#### I2C Request Message - Overall
diff --git a/ipmisensor.cpp b/ipmisensor.cpp
index 2e987d0..1eecb94 100644
--- a/ipmisensor.cpp
+++ b/ipmisensor.cpp
@@ -122,7 +122,7 @@ int set_sensor_dbus_state_fwprogress(const sensorRES_t *pRec, const lookup_t *pT
case 0x00 : snprintf(p, sizeof(valuestring), "POST Error, %s", event_data_lookup(g_fwprogress00h, pRec->event_data2));
break;
- case 0x01 : /* Using g_fwprogress02h for 0x01 because thats what the ipmi spec says to do */
+ case 0x01 : /* Using g_fwprogress02h for 0x01 because that's what the ipmi spec says to do */
snprintf(p, sizeof(valuestring), "FW Hang, %s", event_data_lookup(g_fwprogress02h, pRec->event_data2));
break;
case 0x02 : snprintf(p, sizeof(valuestring), "FW Progress, %s", event_data_lookup(g_fwprogress02h, pRec->event_data2));
diff --git a/sensordatahandler.cpp b/sensordatahandler.cpp
index 4d87341..20006dc 100644
--- a/sensordatahandler.cpp
+++ b/sensordatahandler.cpp
@@ -68,7 +68,7 @@ ServicePath getServiceAndPath(sdbusplus::bus::bus& bus,
const auto& iter = mapperResponse.find(path);
if (iter == mapperResponse.end())
{
- log<level::ERR>("Coudn't find d-bus path",
+ log<level::ERR>("Couldn't find D-Bus path",
entry("PATH=%s", path),
entry("INTERFACE=%s", interface));
elog<InternalFailure>();
diff --git a/transporthandler.cpp b/transporthandler.cpp
index b33dc7d..bafeb16 100644
--- a/transporthandler.cpp
+++ b/transporthandler.cpp
@@ -93,8 +93,8 @@ ipmi_ret_t getNetworkData(uint8_t lan_param, uint8_t* data, int channel)
ipaddress = properties["Address"].get<std::string>();
}
- // ignore the exception, as it is a valid condtion that
- // system is not confiured with any ip.
+ // ignore the exception, as it is a valid condition that
+ // the system is not configured with any IP.
catch (InternalFailure& e)
{
// nothing to do.
@@ -212,8 +212,8 @@ ipmi_ret_t getNetworkData(uint8_t lan_param, uint8_t* data, int channel)
mask = ipmi::network::MASK_32_BIT;
mask = htonl(mask << (ipmi::network::BITS_32 - prefix));
}
- // ignore the exception, as it is a valid condtion that
- // system is not confiured with any ip.
+ // ignore the exception, as it is a valid condition that
+ // the system is not configured with any IP.
catch (InternalFailure& e)
{
// nothing to do
@@ -251,8 +251,8 @@ ipmi_ret_t getNetworkData(uint8_t lan_param, uint8_t* data, int channel)
gateway = systemProperties["DefaultGateway"].get<
std::string>();
}
- // ignore the exception, as it is a valid condtion that
- // system is not confiured with any ip.
+ // ignore the exception, as it is a valid condition that
+ // the system is not configured with any IP.
catch (InternalFailure& e)
{
// nothing to do
@@ -329,8 +329,8 @@ ipmi_ret_t getNetworkData(uint8_t lan_param, uint8_t* data, int channel)
vlanID |= htole16(ipmi::network::VLAN_ENABLE_MASK);
}
}
- // ignore the exception, as it is a valid condtion that
- // system is not confiured with any ip.
+ // ignore the exception, as it is a valid condition that
+ // the system is not configured with any IP.
catch (InternalFailure& e)
{
// nothing to do
diff --git a/utils.cpp b/utils.cpp
index 31c219c..4f59f6c 100644
--- a/utils.cpp
+++ b/utils.cpp
@@ -496,7 +496,7 @@ void createIP(sdbusplus::bus::bus& bus,
if (reply.is_method_error())
{
- log<level::ERR>("Failed to excute method",
+ log<level::ERR>("Failed to execute method",
entry("METHOD=%s", "IP"),
entry("PATH=%s", objPath.c_str()));
elog<InternalFailure>();
@@ -522,7 +522,7 @@ void createVLAN(sdbusplus::bus::bus& bus,
if (reply.is_method_error())
{
- log<level::ERR>("Failed to excute method",
+ log<level::ERR>("Failed to execute method",
entry("METHOD=%s", "VLAN"),
entry("PATH=%s", objPath.c_str()));
elog<InternalFailure>();
OpenPOWER on IntegriCloud