diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-12-04 13:38:46 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-01-11 11:39:28 +0300 |
commit | 34f22fc034470032a647262ee142867b3ebe5b2f (patch) | |
tree | c0a6fbf562fe56a1d04051bd8c667bd87d65dbc2 /net | |
parent | 477cea9e6db35152ace6ffa250080b0e01160b93 (diff) | |
download | qemu-34f22fc034470032a647262ee142867b3ebe5b2f.zip |
net: convert qemu_log to error_report, fix message
Ensure that the error is printed with the proper timestamp.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'net')
-rw-r--r-- | net/dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dump.c b/net/dump.c index ce16a4b0e3..1c05f787f0 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; } |