summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2017-10-25 17:22:22 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-10-31 13:36:25 +0000
commitdeae3cac49b8c3312751017d36abe35e4cf7cfa1 (patch)
tree9467752f830cc4272e9d55ffba5441465176d79f
parentf8a5a7978355ead2d148c3e93607d1c24adf8a74 (diff)
downloadphosphor-logging-deae3cac49b8c3312751017d36abe35e4cf7cfa1.zip
phosphor-logging-deae3cac49b8c3312751017d36abe35e4cf7cfa1.tar.gz
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: Idea8f76487125a7c7334b415a369c73d9fac40c4 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--org/openbmc/Associations/server.hpp2
-rwxr-xr-xtools/elog-gen.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/org/openbmc/Associations/server.hpp b/org/openbmc/Associations/server.hpp
index 7a597ce..5fc71e0 100644
--- a/org/openbmc/Associations/server.hpp
+++ b/org/openbmc/Associations/server.hpp
@@ -46,7 +46,7 @@ class Associations
*
* @param[in] bus - Bus to attach to.
* @param[in] path - Path to attach at.
- * @param[in] vals - Map of property name to value for initalization.
+ * @param[in] vals - Map of property name to value for initialization.
*/
Associations(bus::bus& bus, const char* path,
const std::map<std::string, PropertiesVariant>& vals);
diff --git a/tools/elog-gen.py b/tools/elog-gen.py
index 7f66fab..9169a6e 100755
--- a/tools/elog-gen.py
+++ b/tools/elog-gen.py
@@ -30,7 +30,7 @@ def order_inherited_errors(i_errors, i_parents):
if(has_inheritance):
# Order the error codes list such that an error is never placed
# before it's parent. This way generated code can ensure parent
- # definitions preceed child error definitions.
+ # definitions precede child error definitions.
while(len(errors) < len(i_errors)):
for error in i_errors:
if(error in errors):
OpenPOWER on IntegriCloud