diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2018-06-14 08:56:17 -0500 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2018-06-14 08:56:31 -0500 |
commit | c19b813e79e71a6b66887434f1dc4468df1d88bf (patch) | |
tree | 6afc81f4fa01b5cf5186690ee8003f122f160188 /writefrudata.cpp | |
parent | a37002fa0563b8136f3325ef19d5ec42aff2384d (diff) | |
download | ipmi-fru-parser-c19b813e79e71a6b66887434f1dc4468df1d88bf.tar.gz ipmi-fru-parser-c19b813e79e71a6b66887434f1dc4468df1d88bf.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: Ifbc540985ddef6ee0ac6e5510c9bf79f24f89f96
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'writefrudata.cpp')
-rw-r--r-- | writefrudata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writefrudata.cpp b/writefrudata.cpp index 6e1fbec..1b8acba 100644 --- a/writefrudata.cpp +++ b/writefrudata.cpp @@ -240,7 +240,7 @@ std::string getFRUValue(const std::string& section, //if the key is custom property then the value could be in two formats. //1) custom field 2 = "value". //2) custom field 2 = "key:value". - //if delimeter length = 0 i.e custom field 2 = "value" + //if delimiter length = 0 i.e custom field 2 = "value" constexpr auto customProp = "Custom Field"; if (key.find(customProp) != std::string::npos) @@ -450,7 +450,7 @@ int ipmi_populate_fru_areas(uint8_t *fru_data, const size_t data_len, { rc = -1; // Actual offset in the payload is the offset mentioned in common header - // multipled by 8. Common header is always the first 8 bytes. + // multiplied by 8. Common header is always the first 8 bytes. area_offset = fru_data[fru_entry] * IPMI_EIGHT_BYTES; if(area_offset && (data_len < (area_offset + 2))) { |