mirror of
https://github.com/apache/nuttx.git
synced 2026-08-24 23:18:21 +00:00
fs/nxffs/nxffs_read.c: Fix a syslog format
This commit is contained in:
parent
3f2390e781
commit
d22c8a2a31
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue