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

Keng-Yu Lin kengyu at canonical.com
Thu May 31 06:58:24 UTC 2012


On Tue, May 29, 2012 at 9:28 PM, Colin King <colin.king at canonical.com> wrote:
> 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
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>




More information about the fwts-devel mailing list