ACK: [PATCH] acpi: pcct: fix incorrect printing length for PRIx64
Colin Ian King
colin.king at canonical.com
Sat Jul 30 16:37:40 UTC 2016
On 30/07/16 14:35, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
> src/acpi/pcct/pcct.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/acpi/pcct/pcct.c b/src/acpi/pcct/pcct.c
> index 372c40b..0f8c399 100644
> --- a/src/acpi/pcct/pcct.c
> +++ b/src/acpi/pcct/pcct.c
> @@ -64,7 +64,7 @@ static int pcct_test1(fwts_framework *fw)
> fwts_failed(fw, LOG_LEVEL_LOW,
> "PCCTReservedNonZero",
> "PCCT reserved field must be zero, got "
> - "0x%8.8" PRIx64 " instead", pcct->reserved);
> + "0x%16.16" PRIx64 " instead", pcct->reserved);
> }
>
> offset = sizeof(fwts_acpi_table_pcct);
>
Well spotted.
Acked-by: Colin Ian King <colin.king at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20160730/56f4c92d/attachment.pgp>
More information about the fwts-devel
mailing list