Flush the debug message out to the log file.

This patch fluesh the debug messages to the log file  at the end of each
debug message.

Changes from V1:
Used fflush instead fseek for the flush.

Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Venkateswararao Jujjuri (JV) 2010-06-02 08:24:59 -07:00 committed by Anthony Liguori
parent 91ca60e012
commit 0db09dd2ab
1 changed files with 2 additions and 0 deletions

View File

@ -481,4 +481,6 @@ void pprint_pdu(V9fsPDU *pdu)
}
fprintf(llogfile, ")\n");
/* Flush the log message out */
fflush(llogfile);
}