diff mbox

[V9fs-developer,PATCH-V2,virtio-9p] Flush the debug message out to the log file.

Message ID 1275492299-22617-1-git-send-email-jvrao@linux.vnet.ibm.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

jvrao June 2, 2010, 3:24 p.m. UTC
None
diff mbox

Patch

diff --git a/hw/virtio-9p-debug.c b/hw/virtio-9p-debug.c
index 2fb2673..e4ab4bc 100644
--- a/hw/virtio-9p-debug.c
+++ b/hw/virtio-9p-debug.c
@@ -481,4 +481,6 @@  void pprint_pdu(V9fsPDU *pdu)
     }
 
     fprintf(llogfile, ")\n");
+    /* Flush the log message out */
+    fflush(llogfile);
 }