]> www.infradead.org Git - qemu-nvme.git/commit
semihosting/arm-compat-semi: Avoid using hardcoded /tmp
authorBin Meng <bin.meng@windriver.com>
Thu, 27 Oct 2022 18:36:16 +0000 (19:36 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 31 Oct 2022 20:37:58 +0000 (20:37 +0000)
commit3878d0c7d7de9fe201513b8ee31e38e53361a97d
treec0fc55cfd79344b5f23919b09af0a48d869a51f0
parent25916dd65d7e72f7bb5b9727bb346a9d17993072
semihosting/arm-compat-semi: Avoid using hardcoded /tmp

Use g_get_tmp_dir() to get the directory to use for temporary files.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221006151927.2079583-2-bmeng.cn@gmail.com>
Message-Id: <20221027183637.2772968-11-alex.bennee@linaro.org>
semihosting/arm-compat-semi.c