For printing unsigned int %u has to be used.

Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>
---
 drivers/dfu/dfu_sf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
        }
--
2.29.2

Reply via email to