fs/nxffs/nxffs_write.c: Fix a syslog format
This commit is contained in:
parent
d543f7f16f
commit
ae45a66d70
@ -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 */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user