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:
Huang Qi 2024-09-27 10:07:20 +08:00 committed by Xiang Xiao
parent 19230e3a2b
commit 2cf92a75d3
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ int board_app_initialize(uintptr_t arg)
#endif
#ifdef CONFIG_FS_TMPFS
mount(NULL, "/tmp", "tmpfs", 0, NULL);
mount(NULL, CONFIG_LIBC_TMPDIR, "tmpfs", 0, NULL);
#endif
#endif