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:
Heinrich Schuchardt 2020-12-27 09:58:05 +01:00 committed by Marek Vasut
parent 8308a28af8
commit a045bc18d6

View File

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