Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: Iace618688cf00e49624da4bf0195eed1aa33f0ae
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/nvme_manager.cpp b/nvme_manager.cpp
index d0ef7b1..26d7b30 100644
--- a/nvme_manager.cpp
+++ b/nvme_manager.cpp
@@ -453,7 +453,7 @@
else
{
log<level::ERR>(
- "Invalid NVMe config file, thresholds dosen't exist");
+ "Invalid NVMe config file, thresholds doesn't exist");
}
if (!readings.empty())
@@ -493,7 +493,7 @@
}
else
{
- log<level::ERR>("Invalid NVMe config file, config dosen't exist");
+ log<level::ERR>("Invalid NVMe config file, config doesn't exist");
}
}
catch (const Json::exception& e)
diff --git a/nvme_manager.hpp b/nvme_manager.hpp
index 74baccc..2bd13a5 100644
--- a/nvme_manager.hpp
+++ b/nvme_manager.hpp
@@ -80,7 +80,7 @@
driveLifeUsed; /* A vendor specific estimate of the percentage */
int8_t sensorValue; /* Sensor value, if sensor value didn't be
update, means sensor failure, default set to
- 129(0x81) accroding to NVMe-MI SPEC*/
+ 129(0x81) according to NVMe-MI SPEC*/
int8_t wcTemp; /* Indicates over temperature warning threshold.
This is intended to initially match the temperature
reported in the WCTEMP field in the NVMe Identify