aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/syslog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/syslog.cc')
-rw-r--r--winsup/cygwin/syslog.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/syslog.cc b/winsup/cygwin/syslog.cc
index bde15b9..1d1ffd0 100644
--- a/winsup/cygwin/syslog.cc
+++ b/winsup/cygwin/syslog.cc
@@ -406,9 +406,6 @@ syslog (int priority, const char *message, ...)
fputs (timestamp, fp);
fputs (msg_strings[0], fp);
fputc ('\n', fp);
- UnlockFile (fHandle, 0, 0, 1, 0);
- if (ferror (fp))
- debug_printf ("error in writing syslog");
fclose (fp);
}
}