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: Ib9913e28d2bd3a9cf98e47326a57d9b35ab223ef
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/README.md b/README.md
index 4bfe564..c3da89d 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@
See `virtual_sensor_config.json` in this repository for an example. Sensors
added this way can use any expression that is accepted by exprtk.
-## information to get a virtual sensor configuraton from D-Bus
+## information to get a virtual sensor configuration from D-Bus
For example:
diff --git a/dbusUtils.cpp b/dbusUtils.cpp
index ea3879a..1096ed0 100644
--- a/dbusUtils.cpp
+++ b/dbusUtils.cpp
@@ -71,7 +71,7 @@
catch (const sdbusplus::exception_t& e)
{
lg2::error(
- "Faild to set dbus property. service:{SERVICE} path:{PATH} intf:{INTF} Property:{PROP},{ERROR}",
+ "Failed to set dbus property. service:{SERVICE} path:{PATH} intf:{INTF} Property:{PROP},{ERROR}",
"SERVICE", service, "PATH", path, "INTF", intf, "PROP", property,
"ERROR", e);
return -1;
diff --git a/virtualSensor.hpp b/virtualSensor.hpp
index 0667246..4248221 100644
--- a/virtualSensor.hpp
+++ b/virtualSensor.hpp
@@ -286,7 +286,7 @@
private:
/** @brief sdbusplus bus client connection. */
sdbusplus::bus_t& bus;
- /** @brief Get virual sensor config from DBus**/
+ /** @brief Get virtual sensor config from DBus**/
ManagedObjectType getObjectsFromDBus();
/** @brief Parsing virtual sensor config JSON file */
Json parseConfigFile();