1
0
Fork 0
forked from nuttx/nuttx-update

drivers/mmcsd/mmcsd_spi: fix warning with finfo print

This commit is contained in:
Janne Rosberg 2021-09-18 16:41:06 +03:00 committed by Alan Carvalho de Assis
parent 3a6d2adce8
commit f75535607e

View file

@ -1297,7 +1297,7 @@ static ssize_t mmcsd_read(FAR struct inode *inode, unsigned char *buffer,
SPI_SEND(spi, 0xff);
mmcsd_semgive(slot);
finfo("Read %d bytes:\n", nbytes);
finfo("Read %zu bytes:\n", nbytes);
mmcsd_dumpbuffer("Read buffer", buffer, nbytes);
return nsectors;