This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit d22c8a2a31bfa44471a22319ca2043cba22123ef Author: YAMAMOTO Takashi <yamam...@midokura.com> AuthorDate: Sun Nov 22 09:53:35 2020 +0900 fs/nxffs/nxffs_read.c: Fix a syslog format --- fs/nxffs/nxffs_read.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/nxffs/nxffs_read.c b/fs/nxffs/nxffs_read.c index 1403d24..94bcc9c 100644 --- a/fs/nxffs/nxffs_read.c +++ b/fs/nxffs/nxffs_read.c @@ -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 */