From: Paolo Bonzini Date: Fri, 4 Dec 2015 12:38:46 +0000 (+0100) Subject: net: convert qemu_log to error_report, fix message X-Git-Tag: v2.6.0-rc0~233^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=34f22fc034470032a647262ee142867b3ebe5b2f;p=thirdparty%2Fqemu.git net: convert qemu_log to error_report, fix message Ensure that the error is printed with the proper timestamp. Signed-off-by: Paolo Bonzini Signed-off-by: Michael Tokarev --- diff --git a/net/dump.c b/net/dump.c index ce16a4b0e3e..1c05f787f04 100644 --- a/net/dump.c +++ b/net/dump.c @@ -84,7 +84,7 @@ static ssize_t dump_receive_iov(DumpState *s, const struct iovec *iov, int cnt) cnt = iov_copy(&dumpiov[1], cnt, iov, cnt, 0, caplen); if (writev(s->fd, dumpiov, cnt + 1) != sizeof(hdr) + caplen) { - qemu_log("-net dump write error - stop dump\n"); + error_report("network dump write error - stopping dump"); close(s->fd); s->fd = -1; }