ACK: [PATCH 01/12] acpi: acpiinfo: use stdint print format specifiers for uint8_t values

Alex Hung alex.hung at canonical.com
Thu Sep 6 21:37:32 UTC 2018


On 2018-09-06 07:19 AM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
> 
> Use stdint print format specifiers.
> 
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   src/acpi/acpiinfo/acpiinfo.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/acpi/acpiinfo/acpiinfo.c b/src/acpi/acpiinfo/acpiinfo.c
> index b96f7b1c..37398e8e 100644
> --- a/src/acpi/acpiinfo/acpiinfo.c
> +++ b/src/acpi/acpiinfo/acpiinfo.c
> @@ -124,7 +124,7 @@ static int acpiinfo_test2(fwts_framework *fw)
>   		minor = fadt->minor_version;
>   
>   	fwts_log_info(fw,
> -		"FACP ACPI Version: %d.%d", major, minor);
> +		"FACP ACPI Version: %" PRIu8 ".%" PRIu8, major, minor);
>   
>   	fwts_infoonly(fw);
>   
> 



Acked-by: Alex Hung <alex.hung at canonical.com> 	



More information about the fwts-devel mailing list