diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-08-20 10:28:26 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-08-23 14:48:18 +1000 |
commit | 24ffcfcded6b4b024958801e8a6cecad36d9a3e3 (patch) | |
tree | 52d65118e85708dcd55938c1241df45b087842a5 /os | |
parent | d53e6e02a2595ced1882f5fcd34d08ea039b3b85 (diff) |
os: fix typo, fsync when WIN32 is _not_ defined
Introduced in 164b38c72fe9c69d13ea4f9c46d4ccc46566d826
Reported-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'os')
-rw-r--r-- | os/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -374,7 +374,7 @@ LogSWrite(int verb, const char *buf, size_t len, Bool end_line) if (verb < 0 || logFileVerbosity >= verb) { if (inSignalContext && logFileFd >= 0) { write(logFileFd, buf, len); -#ifdef WIN32 +#ifndef WIN32 if (logFlush && logSync) fsync(logFileFd); #endif |