[U-Boot] [PATCH] cmd/ubi.c: Fix format warning

Martin Husemann martin at NetBSD.org
Thu Jul 26 15:36:01 UTC 2018


On Thu, Jul 26, 2018 at 11:32:25AM -0400, Tom Rini wrote:
> -	printf("Read %u bytes from volume %s to %p\n", size, volume, buf);
> +	printf("Read %zd bytes from volume %s to %p\n", size, volume, buf);

Why make it signed? "%zu bytes" should be better.

Martin


More information about the U-Boot mailing list