diff mbox series

acpi: pmtt: fix the wrong table lable

Message ID 20220708100415.11382-1-ivan.hu@canonical.com
State Accepted
Headers show
Series acpi: pmtt: fix the wrong table lable | expand

Commit Message

Ivan Hu July 8, 2022, 10:04 a.m. UTC
Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 src/acpi/pmtt/pmtt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/acpi/pmtt/pmtt.c b/src/acpi/pmtt/pmtt.c
index 68a4cca3..499a5608 100644
--- a/src/acpi/pmtt/pmtt.c
+++ b/src/acpi/pmtt/pmtt.c
@@ -192,7 +192,7 @@  static int pmtt_test1(fwts_framework *fw)
 	offset = sizeof(fwts_acpi_table_pmtt);
 	while (offset < table->length) {
 
-		if (fwts_acpi_structure_length_zero(fw, "PHAT", entry->length, offset)) {
+		if (fwts_acpi_structure_length_zero(fw, "PMTT", entry->length, offset)) {
 			passed = false;
 			break;
 		}