diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-03-22 10:29:03 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-27 14:30:37 +0100 |
commit | 6627f64510b622912d35ced2771583e03b1f155f (patch) | |
tree | ae7e532349733c212f6efdd7185ee73e60e74c4c | |
parent | fc2377ea29d11eb7ccc881b60ced7782fbc60443 (diff) |
error: Make use of error_set_progname() optional
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r-- | qemu-error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-error.c b/qemu-error.c index 14ec14f39f..2eadbfc436 100644 --- a/qemu-error.c +++ b/qemu-error.c @@ -167,7 +167,7 @@ void error_print_loc(void) int i; const char *const *argp; - if (!cur_mon) { + if (!cur_mon && progname) { fprintf(stderr, "%s:", progname); sep = " "; } |