drivers/mmcsd/mmcsd_spi: fix warning with finfo print

This commit is contained in:
Janne Rosberg
2021-09-18 12:18:09 -03:00
committed by Alan Carvalho de Assis
parent 3a6d2adce8
commit f75535607e
+1 -1
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;