projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bdb920
)
slirp: replace error_report() with g_critical()
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Wed, 14 Nov 2018 12:36:30 +0000
(16:36 +0400)
committer
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Sun, 13 Jan 2019 23:44:29 +0000
(
00:44
+0100)
Reduce dependency on QEMU. QEMU could use a custom log handler if it
wants to redirect/filter it.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
slirp/misc.c
patch
|
blob
|
history
diff --git
a/slirp/misc.c
b/slirp/misc.c
index 753b3da25baa6b311fe372eb9163f350ea6864f9..b141446319d176430a50b7aca3340f79b5cff503 100644
(file)
--- a/
slirp/misc.c
+++ b/
slirp/misc.c
@@
-162,7
+162,7
@@
fork_exec(struct socket *so, const char *ex)
g_strfreev(argv);
if (err) {
-
error_report("
%s", err->message);
+
g_critical("fork_exec:
%s", err->message);
g_error_free(err);
closesocket(sp[0]);
closesocket(sp[1]);