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 ae45a66d709215e20367ece0e39412d63e2d924b Author: YAMAMOTO Takashi <yamam...@midokura.com> AuthorDate: Sun Nov 22 09:59:38 2020 +0900 fs/nxffs/nxffs_write.c: Fix a syslog format --- fs/nxffs/nxffs_write.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/nxffs/nxffs_write.c b/fs/nxffs/nxffs_write.c index 31b72f1..d59e787 100644 --- a/fs/nxffs/nxffs_write.c +++ b/fs/nxffs/nxffs_write.c @@ -41,6 +41,7 @@ #include <nuttx/config.h> +#include <stdint.h> #include <string.h> #include <fcntl.h> #include <crc32.h> @@ -531,7 +532,7 @@ ssize_t nxffs_write(FAR struct file *filep, FAR const char *buffer, ssize_t total; 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 */