diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2012-04-07 08:21:24 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2012-04-07 08:46:01 +0530 |
commit | abf2838b186b977af44a9be65e1122db45b84bce (patch) | |
tree | 04fef3594399be732ace4fa967ffc14410619d16 | |
parent | 5e4b43810afa40456c21c15e0358e2026dd310a2 (diff) | |
download | stressapptest-abf2838b186b977af44a9be65e1122db45b84bce.tar.gz |
o_dsync mode not supported
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | src/sat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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", |