mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 18:48:11 +08:00
fs/mmap/fs_mmap.c: Fix a syslog format error
This commit is contained in:
committed by
Xiang Xiao
parent
bf9b36cf92
commit
bc9e28eb35
+1
-1
@@ -152,7 +152,7 @@ FAR void *mmap(FAR void *start, size_t length, int prot, int flags,
|
||||
|
||||
if (length == 0)
|
||||
{
|
||||
ferr("ERROR: Invalid length, length=%d\n", length);
|
||||
ferr("ERROR: Invalid length, length=%zu\n", length);
|
||||
errcode = EINVAL;
|
||||
goto errout;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user