aboutsummaryrefslogtreecommitdiff
path: root/trace
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-02-21 14:11:47 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2022-03-22 14:46:18 +0400
commit336d354ba73f62099b1a931662694b23cb3d2b65 (patch)
tree22487bb6c811aae73d2c81b17d7ff0d6ce046006 /trace
parent45297887dc88e2ea6d1001064a407e713b2d6ebb (diff)
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
}