[PATCH] src/acpi: Fix a couple of spelling mistakes

Colin Ian King colin.i.king at gmail.com
Sat Oct 26 16:44:10 UTC 2024


There are a couple spelling mistakes, fix these.

Signed-off-by: Colin Ian King <colin.i.king at gmail.com>
---
 src/acpi/ccel/ccel.c | 2 +-
 src/acpi/wmi/wmi.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/acpi/ccel/ccel.c b/src/acpi/ccel/ccel.c
index 0d979a2a..f5e2c806 100644
--- a/src/acpi/ccel/ccel.c
+++ b/src/acpi/ccel/ccel.c
@@ -34,7 +34,7 @@ static int ccel_test1(fwts_framework *fw)
 	if (ccel->header.length != sizeof(fwts_acpi_table_ccel)) {
 		fwts_failed(fw, LOG_LEVEL_HIGH,
 			"CCELBadTableLength",
-			"CCEL table lengthe shoud be %" PRIu32 ", got %" PRIu32
+			"CCEL table lengthe should be %" PRIu32 ", got %" PRIu32
 			 " instead.", (uint32_t)sizeof(fwts_acpi_table_ccel),
 			 ccel->header.length);
 		return FWTS_OK;
diff --git a/src/acpi/wmi/wmi.c b/src/acpi/wmi/wmi.c
index 98a73d46..7dfb855f 100644
--- a/src/acpi/wmi/wmi.c
+++ b/src/acpi/wmi/wmi.c
@@ -259,7 +259,7 @@ static char *wmi_acpi_get_parent_name(const char *object_name)
 
 /*
  * wmi_acpi_method_count_on_object()
- *	count occurance of methods on acpi object
+ *	count occurrence of methods on acpi object
  */
 static int wmi_acpi_method_count_on_object(const char *object_name, const char *method_name)
 {
-- 
2.39.5




More information about the fwts-devel mailing list