summaryrefslogtreecommitdiffstats
path: root/trace
diff options
context:
space:
mode:
authorMarc-André Lureau2022-02-21 11:11:47 +0100
committerMarc-André Lureau2022-03-22 11:46:18 +0100
commit336d354ba73f62099b1a931662694b23cb3d2b65 (patch)
tree22487bb6c811aae73d2c81b17d7ff0d6ce046006 /trace
parentqga: remove bswap.h include (diff)
downloadqemu-336d354ba73f62099b1a931662694b23cb3d2b65.tar.gz
qemu-336d354ba73f62099b1a931662694b23cb3d2b65.tar.xz
qemu-336d354ba73f62099b1a931662694b23cb3d2b65.zip
error: use GLib to remember the program name
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'trace')
-rw-r--r--trace/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace/control.c b/trace/control.c
index d5b68e846e..6c77cc6318 100644
--- a/trace/control.c
+++ b/trace/control.c
@@ -161,7 +161,7 @@ void trace_list_events(FILE *f)
fprintf(f, "This list of names of trace points may be incomplete "
"when using the DTrace/SystemTap backends.\n"
"Run 'qemu-trace-stap list %s' to print the full list.\n",
- error_get_progname());
+ g_get_prgname());
#endif
}