aboutsummaryrefslogtreecommitdiff
path: root/softmmu
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 /softmmu
parent45297887dc88e2ea6d1001064a407e713b2d6ebb (diff)
downloadqemu-336d354ba73f62099b1a931662694b23cb3d2b65.zip
qemu-336d354ba73f62099b1a931662694b23cb3d2b65.tar.gz
qemu-336d354ba73f62099b1a931662694b23cb3d2b65.tar.bz2
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 'softmmu')
-rw-r--r--softmmu/vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c
index 7e4d55b..6f64653 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -836,7 +836,7 @@ static void help(int exitcode)
version();
printf("usage: %s [options] [disk_image]\n\n"
"'disk_image' is a raw hard disk image for IDE hard disk 0\n\n",
- error_get_progname());
+ g_get_prgname());
#define DEF(option, opt_arg, opt_enum, opt_help, arch_mask) \
if ((arch_mask) & arch_type) \