mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 14:41:29 +08:00
drivers/mmcsd/mmcsd_spi: fix warning with finfo print
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
3a6d2adce8
commit
f75535607e
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user