mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
boards/qemu-rv: Correct tmpfs mount path to use CONFIG_LIBC_TMPDIR
Follow other boards, use CONFIG_LIBC_TMPDIR from Kconfig instead of hardcode it here. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
@@ -129,7 +129,7 @@ int board_app_initialize(uintptr_t arg)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_FS_TMPFS
|
#ifdef CONFIG_FS_TMPFS
|
||||||
mount(NULL, "/tmp", "tmpfs", 0, NULL);
|
mount(NULL, CONFIG_LIBC_TMPDIR, "tmpfs", 0, NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user