aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-02-24 14:37:14 +0100
committerMarkus Armbruster <armbru@redhat.com>2010-03-16 16:58:32 +0100
commit65abca0a3441fb47024553e7676f6f3eef685a32 (patch)
tree0243c816446758d7fe0c199231513e3fbff3edf7 /vl.c
parent827b08139c8ba97c18bda19e4893fdf26878b531 (diff)
error: Include the program name in error messages to stderr
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 160f30a320..c3abeeff2e 100644
--- a/vl.c
+++ b/vl.c
@@ -4862,6 +4862,8 @@ int main(int argc, char **argv, char **envp)
int show_vnc_port = 0;
int defconfig = 1;
+ error_set_progname(argv[0]);
+
init_clocks();
qemu_cache_utils_init(envp);