From: Heinrich Schuchardt Date: Sun, 27 Dec 2020 08:58:05 +0000 (+0100) Subject: dfu: dfu_sf: use correct print code X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=a045bc18d6d2752b9dbf6894e9396a8674e642a2;p=u-boot.git dfu: dfu_sf: use correct print code For printing unsigned int %u has to be used. Signed-off-by: Heinrich Schuchardt --- diff --git a/drivers/dfu/dfu_sf.c b/drivers/dfu/dfu_sf.c index 318e43c179..76b629a334 100644 --- a/drivers/dfu/dfu_sf.c +++ b/drivers/dfu/dfu_sf.c @@ -131,7 +131,7 @@ static struct spi_flash *parse_dev(char *devstr) dev = spi_flash_probe(bus, cs, speed, mode); if (!dev) { - printf("Failed to create SPI flash at %d:%d:%d:%d\n", + printf("Failed to create SPI flash at %u:%u:%u:%u\n", bus, cs, speed, mode); return NULL; }