fs/nxffs/nxffs_read.c: Fix a syslog format
This commit is contained in:
parent
3f2390e781
commit
d22c8a2a31
@ -41,6 +41,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <crc32.h>
|
||||
@ -154,7 +155,7 @@ ssize_t nxffs_read(FAR struct file *filep, FAR char *buffer, size_t buflen)
|
||||
size_t readsize;
|
||||
int ret;
|
||||
|
||||
finfo("Read %d bytes from offset %d\n", buflen, filep->f_pos);
|
||||
finfo("Read %zu bytes from offset %jd\n", buflen, (intmax_t)filep->f_pos);
|
||||
|
||||
/* Sanity checks */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user