From addabd6f16aece578d94d810d3a9e9dc88f2cdb7 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 26 Jun 2001 01:41:59 +0000 Subject: Patch from Gennady Feldman This should fix "circular buffer" error message shown when running "syslogd -C" --- sysklogd/syslogd.c | 2 -- syslogd.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 6be51d7..8d8bd1a 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -155,8 +155,6 @@ void ipcsyslog_init(void){ perror_msg_and_die("semget"); }else perror_msg_and_die("semget"); - } else { - sem_up(s_semid); } }else{ printf("Buffer already allocated just grab the semaphore?"); diff --git a/syslogd.c b/syslogd.c index 6be51d7..8d8bd1a 100644 --- a/syslogd.c +++ b/syslogd.c @@ -155,8 +155,6 @@ void ipcsyslog_init(void){ perror_msg_and_die("semget"); }else perror_msg_and_die("semget"); - } else { - sem_up(s_semid); } }else{ printf("Buffer already allocated just grab the semaphore?"); -- cgit v1.1