summaryrefslogtreecommitdiff
path: root/libc/misc/syslog
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-01 20:29:52 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-01 20:29:52 +0000
commitfbb32ad9b6a4b6cffea1c5b4292b18c72cdadaf6 (patch)
tree0e3c04e3e9141adb9f9d47329c6ff46d6e5a5335 /libc/misc/syslog
parent513720b73b403c3c9aca3f25c085422f4132c292 (diff)
on Bernd's request, remove commented-out code snippets
Diffstat (limited to 'libc/misc/syslog')
-rw-r--r--libc/misc/syslog/syslog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/misc/syslog/syslog.c b/libc/misc/syslog/syslog.c
index 32fcd1f2b..da60874b3 100644
--- a/libc/misc/syslog/syslog.c
+++ b/libc/misc/syslog/syslog.c
@@ -207,10 +207,6 @@ vsyslog(int pri, const char *fmt, va_list ap)
memset(&action, 0, sizeof(action));
action.sa_handler = closelog_intern;
- /* __sigemptyset(&action.sa_mask); - memset already did it */
- /* Only two errors are possible for sigaction:
- * EFAULT (bad address of &oldaction) and EINVAL (invalid signo)
- * none of which can happen here. */
sigaction(SIGPIPE, &action, &oldaction);
saved_errno = errno;