Home
last modified time | relevance | path

Searched hist:"1 c324bf908e3de1cf352e36484c73dc07767d938" (Results 1 – 1 of 1) sorted by relevance

/qemu/tests/qtest/
H A Dvhost-user-test.c1c324bf908e3de1cf352e36484c73dc07767d938 Mon Oct 17 13:20:23 UTC 2022 Bin Meng <bin.meng@windriver.com> tests/qtest: vhost-user-test: Fix [-Werror=format-overflow=] build warning

When tmpfs is NULL, a build warning is seen with GCC 9.3.0.
It's strange that GCC 11.2.0 on Ubuntu 22.04 does not catch this,
neither did the QEMU CI.

While we are here, improve the error message as well.

Reported-by: Shengjiang Wu <shengjiang.wu@windriver.com>
Fixes: e6efe236c1d1 ("tests/qtest: vhost-user-test: Avoid using hardcoded /tmp")
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20221017132023.2228641-2-bmeng.cn@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>