fs/cromfs/fs_cromfs.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-11-25 07:20:32 +09:00 committed by Xiang Xiao
parent 298299684e
commit 4911b1121b
1 changed files with 1 additions and 1 deletions

View File

@ -838,7 +838,7 @@ static ssize_t cromfs_read(FAR struct file *filep, FAR char *buffer,
unsigned int copysize;
unsigned int copyoffs;
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);
DEBUGASSERT(filep->f_priv != NULL && filep->f_inode != NULL);
/* Get the mountpoint inode reference from the file structure and the