nuttx/fs/mmap
zhangshoukui 3fb6b4c9ec fix mmap compile error.
mmap/fs_rammap.c:81:39: error: expected ‘)’ before ‘PRIdOFF’
   81 |       ferr("ERRORL Seek to position %"PRIdOFF" failed\n", fpos);
      |                                       ^~~~~~~
mmap/fs_rammap.c:81:12: warning: spurious trailing ‘%’ in format [-Wformat=]
   81 |       ferr("ERRORL Seek to position %"PRIdOFF" failed\n", fpos);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
mmap/fs_rammap.c:81:37: note: format string is defined here
   81 |       ferr("ERRORL Seek to position %"PRIdOFF" failed\n", fpos);
      |                                     ^
In file included from mmap/fs_rammap.c:30:
mmap/fs_rammap.c:98:51: error: expected ‘)’ before ‘PRIdOFF’
   98 |               ferr("ERROR: Write failed: offset=%"PRIdOFF" nwrite=%zd\n",
      |                                                   ^~~~~~~
mmap/fs_rammap.c:98:20: warning: spurious trailing ‘%’ in format [-Wformat=]
   98 |               ferr("ERROR: Write failed: offset=%"PRIdOFF" nwrite=%zd\n",
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmap/fs_rammap.c:98:49: note: format string is defined here
   98 |               ferr("ERROR: Write failed: offset=%"PRIdOFF" nwrite=%zd\n",

Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2024-09-19 01:43:50 +08:00
..
CMakeLists.txt fs/mmap/msync:support msync. 2024-09-19 01:43:50 +08:00
fs_anonmap.c fs/mmap/msync:support msync. 2024-09-19 01:43:50 +08:00
fs_anonmap.h fs/mmap: Support the no backing file for anonymous mapping 2023-01-12 19:11:56 +02:00
fs_mmap.c fs_msync:Fix crash caused under the anonymous mapping 2024-09-19 01:43:50 +08:00
fs_mmisc.c
fs_msync.c fs/mmap/msync:support msync. 2024-09-19 01:43:50 +08:00
fs_munmap.c mmap: add xip mmap type support 2024-09-19 01:43:50 +08:00
fs_rammap.c fix mmap compile error. 2024-09-19 01:43:50 +08:00
fs_rammap.h mmap: add xip mmap type support 2024-09-19 01:43:50 +08:00
Kconfig Kconfig: Change some "default y" to "default !DEFAULT_SMALL" 2023-07-16 14:39:20 -03:00
Make.defs fs/mmap/msync:support msync. 2024-09-19 01:43:50 +08:00