forked from nuttx/nuttx-update
drivers/mmcsd/mmcsd_spi: fix warning with finfo print
This commit is contained in:
parent
3a6d2adce8
commit
f75535607e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue