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

IvanHu ivan.hu at canonical.com
Fri Jun 1 03:41:57 UTC 2012


On 05/29/2012 09:28 PM, Colin King 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:
Acked-by: Ivan Hu<ivan.hu at canonical.com>




More information about the fwts-devel mailing list