mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
slirp: replace error_report() with g_critical()
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>
This commit is contained in:
parent
2bdb920ece
commit
6b744ea42a
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue