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>
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 @@
*
* @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 @@
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):