All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] net: convert qemu_log to error_report
@ 2015-11-13 12:58 ` Paolo Bonzini
  0 siblings, 0 replies; 6+ messages in thread
From: Paolo Bonzini @ 2015-11-13 12:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial

Ensure that the error is printed with the proper timestamp.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 net/dump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/dump.c b/net/dump.c
index dd0555f..ab71ffc 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("-net dump write error - stop dump");
         close(s->fd);
         s->fd = -1;
     }
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-11-13 16:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-13 12:58 [Qemu-trivial] [PATCH] net: convert qemu_log to error_report Paolo Bonzini
2015-11-13 12:58 ` [Qemu-devel] " Paolo Bonzini
2015-11-13 14:54 ` [Qemu-trivial] " Eric Blake
2015-11-13 14:54   ` Eric Blake
2015-11-13 16:44 ` [Qemu-trivial] " Thomas Huth
2015-11-13 16:44   ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.