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: Id1a376bbff380f9886b4d238cbd55fe165ba3581
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/sbe_chipOp_handler.cpp b/sbe_chipOp_handler.cpp
index 05d506f..b285e9a 100644
--- a/sbe_chipOp_handler.cpp
+++ b/sbe_chipOp_handler.cpp
@@ -127,7 +127,7 @@
//TODO:use elog infrastructure
std::ostringstream errMsg;
errMsg << "Distance to SBE status header value " <<
- distanceToStatusHeader << " is greater then total lenght of "
+ distanceToStatusHeader << " is greater then total length of "
"response buffer " << lengthObtained;
throw std::runtime_error(errMsg.str().c_str());
}
diff --git a/sbe_chipOp_handler.hpp b/sbe_chipOp_handler.hpp
index c30a466..3e29c1e 100644
--- a/sbe_chipOp_handler.hpp
+++ b/sbe_chipOp_handler.hpp
@@ -89,7 +89,7 @@
std::ostringstream errMsg;
errMsg << "Obtained chip operation response length (" <<
sbeFifoResp.size() << "from SBE is greater than maximum expected"
- " lenght:" << chipOpData.size();
+ " length:" << chipOpData.size();
throw std::runtime_error(errMsg.str().c_str());
}