diff mbox

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

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

Commit Message

jvrao June 1, 2010, 8:23 p.m. UTC
None
diff mbox

Patch

diff --git a/hw/virtio-9p-debug.c b/hw/virtio-9p-debug.c
index 2fb2673..5bfa689 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 */
+    fseek(llogfile, 0L, SEEK_CUR);
 }