qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GCC9 compilation warning treated as error


From: benoitdudu38
Subject: GCC9 compilation warning treated as error
Date: Wed, 12 Oct 2022 18:27:23 +0000

A small fix for a compilation warning.


>From ce76d128bf7a3101cb16d3397a396640c35e4a0d Mon Sep 17 00:00:00 2001
From: Benoit Dumas <benoitdudu38@hotmail.fr>
Date: Wed, 12 Oct 2022 20:05:09 +0200
Subject: [PATCH] Signed-off-by: Benoit Dumas <benoitdudu38@hotmail.fr>

fix a compilation warning treated as error by GCC9

Signed-off-by: Benoit Dumas <benoitdudu38@hotmail.fr>
---
 tests/qtest/vhost-user-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qtest/vhost-user-test.c b/tests/qtest/vhost-user-test.c
index 84498941a6..5a17ed5d03 100644
--- a/tests/qtest/vhost-user-test.c
+++ b/tests/qtest/vhost-user-test.c
@@ -493,7 +493,7 @@ static TestServer *test_server_new(const gchar *name,
 
     tmpfs = g_dir_make_tmp("vhost-test-XXXXXX", &err);
     if (!tmpfs) {
-        g_test_message("g_dir_make_tmp on path (%s): %s", tmpfs,
+        g_test_message("g_dir_make_tmp on path: %s",
                        err->message);
         g_error_free(err);
     }
--
2.17.1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]