From 2cf92a75d388d8c5a5d52b93231d78b34e73bfd6 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Fri, 27 Sep 2024 10:07:20 +0800 Subject: [PATCH] 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 --- boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c b/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c index b408e1d074..345d85f489 100644 --- a/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c +++ b/boards/risc-v/qemu-rv/rv-virt/src/qemu_rv_appinit.c @@ -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