diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2018-04-08 14:50:06 -0500 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2018-04-08 14:50:06 -0500 |
commit | 6af6144a745aff4ed90d923cedb064ba28ed3fb2 (patch) | |
tree | be3e96842dffddcdcfb87b2c680dc72d0d6fc7a5 | |
parent | ed5d7ff7c36b1de56e650341056e3dedfd3f3df7 (diff) | |
download | phosphor-networkd-6af6144a745aff4ed90d923cedb064ba28ed3fb2.tar.gz phosphor-networkd-6af6144a745aff4ed90d923cedb064ba28ed3fb2.zip |
Spelling fixes
Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.
Change-Id: Ia0a4d655510a1d5f81ac369bdad9f7cfbd675484
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r-- | argument.hpp | 2 | ||||
-rw-r--r-- | ethernet_interface.hpp | 4 | ||||
-rw-r--r-- | ncsi_netlink_main.cpp | 2 | ||||
-rw-r--r-- | ncsi_util.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/argument.hpp b/argument.hpp index 51438b4..ad63cf9 100644 --- a/argument.hpp +++ b/argument.hpp @@ -23,7 +23,7 @@ class ArgumentParser ArgumentParser(ArgumentParser&&) = default; ArgumentParser& operator=(ArgumentParser&&) = default; - /** @brief Contructs Argument object + /** @brief Constructs Argument object * * @param argc - the main function's argc passed as is * @param argv - the main function's argv passed as is diff --git a/ethernet_interface.hpp b/ethernet_interface.hpp index 5c088bd..5109e42 100644 --- a/ethernet_interface.hpp +++ b/ethernet_interface.hpp @@ -183,7 +183,7 @@ class EthernetInterface : public Ifaces * @param[in] addressType - Type of ip address. * @param[in] ipaddress - IP address. * @param[in] prefixLength - Length of prefix. - * @param[in] gateway - Gateway addess. + * @param[in] gateway - Gateway address. * @return path of the address object. */ @@ -197,7 +197,7 @@ class EthernetInterface : public Ifaces * prefixlength and the gateway. * @param[in] ipaddress - IP address. * @param[in] prefixLength - Length of prefix. - * @param[in] gateway - Gateway addess. + * @param[in] gateway - Gateway address. * @return hash string. */ diff --git a/ncsi_netlink_main.cpp b/ncsi_netlink_main.cpp index aa54956..41e4264 100644 --- a/ncsi_netlink_main.cpp +++ b/ncsi_netlink_main.cpp @@ -88,7 +88,7 @@ int main(int argc, char** argv) auto setCmd = (options)["set"]; if (setCmd == "true") { - // Can not perform set operation without pacakge. + // Can not perform set operation without package. if (packageInt == DEFAULT_VALUE) { exitWithError("Package not specified.", argv); diff --git a/ncsi_util.cpp b/ncsi_util.cpp index 77224f7..c1deff4 100644 --- a/ncsi_util.cpp +++ b/ncsi_util.cpp @@ -274,7 +274,7 @@ int applyCmd(int ifindex, int cmd, int package = DEFAULT_VALUE, ret = nl_recvmsgs_default(socket.get()); if (ret < 0) { - log<level::ERR>("Failed to recieve the message", + log<level::ERR>("Failed to receive the message", entry("RC=%d", ret)); } return ret; |