mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
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>
This commit is contained in:
parent
8308a28af8
commit
a045bc18d6
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ static struct spi_flash *parse_dev(char *devstr)
|
||||||
|
|
||||||
dev = spi_flash_probe(bus, cs, speed, mode);
|
dev = spi_flash_probe(bus, cs, speed, mode);
|
||||||
if (!dev) {
|
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);
|
bus, cs, speed, mode);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue