[PATCH phosphor-event] Remove forced flush

OpenBMC Patches openbmc-patches at stwcx.xyz
Sun Feb 21 02:20:30 AEDT 2016


From: Chris Austen <austenc at us.ibm.com>

it didn't do what we wanted.
---
 message.C | 1 -
 1 file changed, 1 deletion(-)

diff --git a/message.C b/message.C
index 2e52b67..42921c7 100644
--- a/message.C
+++ b/message.C
@@ -220,7 +220,6 @@ uint16_t event_manager::create_log_event(event_record_t *rec)
 	myfile.write((char*) rec->association, hdr.associationlen);
 	myfile.write((char*) rec->reportedby, hdr.reportedbylen);
 	myfile.write((char*) rec->p, hdr.debugdatalen);
-	myfile.flush();
 	myfile.close();
 
 	logcount++;
-- 
2.7.1




More information about the openbmc mailing list