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 d543f7f16fbb99cd949145617e2c05c9c88f58ba Author: YAMAMOTO Takashi <yamam...@midokura.com> AuthorDate: Sun Nov 22 09:58:50 2020 +0900 fs/nxffs/nxffs_stat.c: Fix syslog formats --- fs/nxffs/nxffs_stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nxffs/nxffs_stat.c b/fs/nxffs/nxffs_stat.c index 9ac3bea1..96c9fd7 100644 --- a/fs/nxffs/nxffs_stat.c +++ b/fs/nxffs/nxffs_stat.c @@ -148,7 +148,7 @@ int nxffs_stat(FAR struct inode *mountpt, FAR const char *relpath, ret = nxffs_findinode(volume, relpath, &entry); if (ret < 0) { - ferr("ERROR: Inode '%s' not found: %d\n", -ret); + ferr("ERROR: Inode '%s' not found: %d\n", relpath, -ret); goto errout_with_semaphore; } @@ -198,7 +198,7 @@ int nxffs_fstat(FAR const struct file *filep, FAR struct stat *buf) FAR struct nxffs_ofile_s *ofile; int ret; - finfo("Buf %s\n", buf); + finfo("Buf %p\n", buf); DEBUGASSERT(filep != NULL && buf != NULL); /* Recover the open file state from the struct file instance */