Skip to content

Commit

Permalink
boards/qemu-rv: Correct tmpfs mount path to use CONFIG_LIBC_TMPDIR
Browse files Browse the repository at this point in the history
Follow other boards, use CONFIG_LIBC_TMPDIR from Kconfig instead
of hardcode it here.

Signed-off-by: Huang Qi <[email protected]>
  • Loading branch information
no1wudi authored and xiaoxiang781216 committed Sep 27, 2024
1 parent 19230e3 commit 2cf92a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2cf92a7

Please sign in to comment.