[PATCH] lib: fwts_acpi_method: remove leading 0x in front of dumped strings

Colin King colin.king at canonical.com
Tue May 29 13:28:27 UTC 2012


From: Colin Ian King <colin.king at canonical.com>

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 src/lib/src/fwts_acpi_method.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/src/fwts_acpi_method.c b/src/lib/src/fwts_acpi_method.c
index 7a55ccd..5c2e3da 100644
--- a/src/lib/src/fwts_acpi_method.c
+++ b/src/lib/src/fwts_acpi_method.c
@@ -199,7 +199,7 @@ static void fwts_method_dump_object_recursive(fwts_framework *fw, ACPI_OBJECT *o
 			index_buf, (unsigned long long)obj->Integer.Value);
 		break;
 	case ACPI_TYPE_STRING:
-		fwts_log_info_verbatum(fw, "%*s%sSTRING:  0x%s", depth * 2, "",
+		fwts_log_info_verbatum(fw, "%*s%sSTRING:  %s", depth * 2, "",
 			index_buf, obj->String.Pointer);
 		break;
 	case ACPI_TYPE_BUFFER:
-- 
1.7.10





More information about the fwts-devel mailing list