slirp: replace a fprintf with g_critical()

Reduce dependency on QEMU. QEMU could use a custom glib 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:
Marc-André Lureau 2018-11-22 02:06:32 +04:00 committed by Samuel Thibault
parent 6c2d0980e2
commit b0866f0c50
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ err:
sofcantrcvmore(so);
tcp_sockclosed(sototcpcb(so));
fprintf(stderr, "soreadbuf buffer to small");
g_critical("soreadbuf buffer too small");
return -1;
}