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>
diff --git a/argument.hpp b/argument.hpp
index 51438b4..ad63cf9 100644
--- a/argument.hpp
+++ b/argument.hpp
@@ -23,7 +23,7 @@
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 @@
* @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 @@
* 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 @@
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 @@
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;