projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e214baa
)
error: Make use of error_set_progname() optional
author
Markus Armbruster
<armbru@redhat.com>
Mon, 22 Mar 2010 09:29:03 +0000
(10:29 +0100)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sat, 27 Mar 2010 13:30:37 +0000
(14:30 +0100)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
qemu-error.c
patch
|
blob
|
history
diff --git
a/qemu-error.c
b/qemu-error.c
index
14ec14f
..
2eadbfc
100644
(file)
--- 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 = " ";
}