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>
This commit is contained in:
Marc-André Lureau
2022-02-21 14:11:47 +04:00
parent 45297887dc
commit 336d354ba7
6 changed files with 13 additions and 29 deletions

View File

@@ -141,7 +141,7 @@ static void help(void)
" --pidfile <path> write process ID to a file after startup\n"
"\n"
QEMU_HELP_BOTTOM "\n",
error_get_progname());
g_get_prgname());
}
enum {