From patchwork Tue May 29 13:28:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 161746 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 014B3B7006 for ; Tue, 29 May 2012 23:28:30 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SZMTM-0002cH-Oj for incoming@patchwork.ozlabs.org; Tue, 29 May 2012 13:28:28 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SZMTL-0002cC-Pa for fwts-devel@lists.ubuntu.com; Tue, 29 May 2012 13:28:27 +0000 Received: from cpc19-craw6-2-0-cust5.croy.cable.virginmedia.com ([77.102.228.6] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SZMTL-0006AE-Mr for fwts-devel@lists.ubuntu.com; Tue, 29 May 2012 13:28:27 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH] lib: fwts_acpi_method: remove leading 0x in front of dumped strings Date: Tue, 29 May 2012 14:28:27 +0100 Message-Id: <1338298107-23485-1-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.10 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Signed-off-by: Colin Ian King Acked-by: Alex Hung Acked-by: Keng-Yu Lin Acked-by: Ivan Hu --- 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: