summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2017-10-25 20:33:32 -0500
committerGunnar Mills <gmills@us.ibm.com>2017-10-26 01:46:13 +0000
commitd75f0497cd92042d4e2dba8662df9ff7e661d0be (patch)
treee9dfe8d2b1a0cd45fd24ae22c22f887af118e36c
parentfc7df192a24db545dc5253707e09df3e42dedb4e (diff)
downloadphosphor-networkd-d75f0497cd92042d4e2dba8662df9ff7e661d0be.tar.gz
phosphor-networkd-d75f0497cd92042d4e2dba8662df9ff7e661d0be.zip
Spelling fixes
Change-Id: I953614024660287b94d835e30b117cc4023e749b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--configure.ac2
-rw-r--r--ethernet_interface.cpp2
-rw-r--r--routing_table.cpp4
-rw-r--r--rtnetlink_server.cpp2
-rw-r--r--util.cpp2
-rw-r--r--util.hpp2
6 files changed, 7 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index e195d91..e902973 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@ AM_PROG_AR
AC_PROG_INSTALL
AC_PROG_MAKE_SET
-# Surpress the --with-libtool-sysroot error
+# Suppress the --with-libtool-sysroot error
LT_INIT
# Checks for libraries.
diff --git a/ethernet_interface.cpp b/ethernet_interface.cpp
index 15fc473..c9bf123 100644
--- a/ethernet_interface.cpp
+++ b/ethernet_interface.cpp
@@ -619,7 +619,7 @@ std::string EthernetInterface::mACAddress(std::string value)
}
catch(InternalFailure& e)
{
- log<level::ERR>("Exception occured during getting of MAC \
+ log<level::ERR>("Exception occurred during getting of MAC \
address from Inventory");
return MacAddressIntf::mACAddress();
}
diff --git a/routing_table.cpp b/routing_table.cpp
index bd8f9e0..83d2d24 100644
--- a/routing_table.cpp
+++ b/routing_table.cpp
@@ -53,7 +53,7 @@ int Table::readNetLinkSock(int sockFd, std::array<char,BUFSIZE>& buf)
do
{
- // Recieve response from the kernel
+ // Receive response from the kernel
if ((readLen = recv(sockFd, bufPtr, BUFSIZE - msgLen, 0)) < 0)
{
auto error = errno;
@@ -168,7 +168,7 @@ Map Table::getRoutes()
if ((sock = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE)) < 0)
{
auto error = errno;
- log<level::ERR>("Error occured during socket creation",
+ log<level::ERR>("Error occurred during socket creation",
entry("ERRNO=%s", strerror(error)));
elog<InternalFailure>();
}
diff --git a/rtnetlink_server.cpp b/rtnetlink_server.cpp
index 01d7c10..2e1c5bb 100644
--- a/rtnetlink_server.cpp
+++ b/rtnetlink_server.cpp
@@ -139,7 +139,7 @@ finish:
if (r < 0)
{
- log<level::ERR>("Failure Occured in starting of server:",
+ log<level::ERR>("Failure Occurred in starting of server:",
entry("ERRNO=%d", errno));
elog<InternalFailure>();
}
diff --git a/util.cpp b/util.cpp
index 31bdd65..5e606a7 100644
--- a/util.cpp
+++ b/util.cpp
@@ -423,7 +423,7 @@ bool getDHCPValue(const std::string& confDir, const std::string& intf)
}
catch (InternalFailure& e)
{
- log<level::INFO>("Exception occured during getting of DHCP value");
+ log<level::INFO>("Exception occurred during getting of DHCP value");
}
return dhcp;
}
diff --git a/util.hpp b/util.hpp
index ff91d17..7e48383 100644
--- a/util.hpp
+++ b/util.hpp
@@ -104,7 +104,7 @@ bool isValidIP(int addressFamily, const std::string& address);
*/
bool isValidPrefix(int addressFamily, uint8_t prefixLength);
-/* @brief gets the network section of the ip adress.
+/* @brief gets the network section of the ip address.
* @param[in] addressFamily - IP address family(AF_INET/AF_INET6).
* @param[in] ipaddress - IP address.
* @param[in] prefix - prefix length.
OpenPOWER on IntegriCloud