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

This commit is contained in:
YAMAMOTO Takashi 2020-11-22 09:59:38 +09:00 committed by Xiang Xiao
parent d543f7f16f
commit ae45a66d70

View File

@ -41,6 +41,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <stdint.h>
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>
#include <crc32.h> #include <crc32.h>
@ -531,7 +532,7 @@ ssize_t nxffs_write(FAR struct file *filep, FAR const char *buffer,
ssize_t total; ssize_t total;
int ret; int ret;
finfo("Write %d bytes to offset %d\n", buflen, filep->f_pos); finfo("Write %zd bytes to offset %jd\n", buflen, (intmax_t)filep->f_pos);
/* Sanity checks */ /* Sanity checks */