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>
master
Marc-André Lureau 2018-11-14 16:36:30 +04:00 committed by Samuel Thibault
parent 2bdb920ece
commit 6b744ea42a
1 changed files with 1 additions and 1 deletions

View File

@ -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]);