From abf2838b186b977af44a9be65e1122db45b84bce Mon Sep 17 00:00:00 2001 From: Amit Pundir Date: Sat, 7 Apr 2012 08:21:24 +0530 Subject: o_dsync mode not supported Signed-off-by: Amit Pundir --- src/sat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sat.cpp b/src/sat.cpp index 2730ed1..19de0d0 100644 --- a/src/sat.cpp +++ b/src/sat.cpp @@ -77,7 +77,7 @@ bool Sat::InitializeLogfile() { // Open logfile. if (use_logfile_) { logfile_ = open(logfilename_, - O_WRONLY | O_CREAT | O_DSYNC, + O_WRONLY | O_CREAT | O_SYNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); if (logfile_ < 0) { printf("Fatal Error: cannot open file %s for logging\n", -- cgit v1.2.3