From c19b813e79e71a6b66887434f1dc4468df1d88bf Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Thu, 14 Jun 2018 08:56:17 -0500 Subject: 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 --- frup.cpp | 2 +- writefrudata.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frup.cpp b/frup.cpp index b7da386..8009b3e 100644 --- a/frup.cpp +++ b/frup.cpp @@ -730,7 +730,7 @@ void _append_to_dict (uint8_t vpd_key_id, /* * Max number of characters needed to represent 1 unsigned byte in string - * is number of bytes multipled by 2. Extra 3 for 0x and a ending '\0'; + * is number of bytes multiplied by 2. Extra 3 for 0x and a ending '\0'; */ char bin_in_ascii_len = vpd_val_len * 2 + 3; 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))) { -- cgit v1.2.1