Message ID | 1268848614-6844-5-git-send-email-armbru@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/qemu-error.c b/qemu-error.c index 5d5fe37..9b9c0a1 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 = " "; }
Signed-off-by: Markus Armbruster <armbru@redhat.com> --- qemu-error.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)