mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
fs/cromfs/fs_cromfs.c: Fix a syslog format
This commit is contained in:
committed by
Xiang Xiao
parent
298299684e
commit
4911b1121b
@@ -838,7 +838,7 @@ static ssize_t cromfs_read(FAR struct file *filep, FAR char *buffer,
|
|||||||
unsigned int copysize;
|
unsigned int copysize;
|
||||||
unsigned int copyoffs;
|
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);
|
DEBUGASSERT(filep->f_priv != NULL && filep->f_inode != NULL);
|
||||||
|
|
||||||
/* Get the mountpoint inode reference from the file structure and the
|
/* Get the mountpoint inode reference from the file structure and the
|
||||||
|
|||||||
Reference in New Issue
Block a user