commit | abf2838b186b977af44a9be65e1122db45b84bce | [log] [tgz] |
---|---|---|
author | Amit Pundir <amit.pundir@linaro.org> | Sat Apr 07 08:21:24 2012 +0530 |
committer | Amit Pundir <amit.pundir@linaro.org> | Sat Apr 07 08:46:01 2012 +0530 |
tree | 04fef3594399be732ace4fa967ffc14410619d16 | |
parent | 5e4b43810afa40456c21c15e0358e2026dd310a2 [diff] |
o_dsync mode not supported Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
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 @@ // 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",