fs/nxffs/nxffs_read.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-11-22 09:53:35 +09:00 committed by Xiang Xiao
parent 3f2390e781
commit d22c8a2a31

View File

@ -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 */