Skip to content

Commit 2cf92a7

Browse files
no1wudixiaoxiang781216
authored andcommitted
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 <[email protected]>
1 parent 19230e3 commit 2cf92a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ int board_app_initialize(uintptr_t arg)
129129
#endif
130130

131131
#ifdef CONFIG_FS_TMPFS
132-
mount(NULL, "/tmp", "tmpfs", 0, NULL);
132+
mount(NULL, CONFIG_LIBC_TMPDIR, "tmpfs", 0, NULL);
133133
#endif
134134

135135
#endif

0 commit comments

Comments
 (0)