diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-27 09:58:05 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2021-02-07 19:22:54 +0100 |
commit | a045bc18d6d2752b9dbf6894e9396a8674e642a2 (patch) | |
tree | 96dc62d66632110134ac8672156e2ba413998e57 /drivers | |
parent | 8308a28af821d6498186b3dd7463db9874cd2daf (diff) | |
download | u-boot-a045bc18d6d2752b9dbf6894e9396a8674e642a2.zip u-boot-a045bc18d6d2752b9dbf6894e9396a8674e642a2.tar.gz u-boot-a045bc18d6d2752b9dbf6894e9396a8674e642a2.tar.bz2 |
dfu: dfu_sf: use correct print code
For printing unsigned int %u has to be used.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dfu/dfu_sf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dfu/dfu_sf.c b/drivers/dfu/dfu_sf.c index 318e43c..76b629a 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; } |