From a63f350d93c941c89e2c929893dfa25e423e3b94 Mon Sep 17 00:00:00 2001 From: bug1 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" git-svn-id: svn://busybox.net/trunk/busybox@2904 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- sysklogd/syslogd.c | 2 -- syslogd.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 6be51d7dc..8d8bd1afe 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 6be51d7dc..8d8bd1afe 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.2.3-55-g6feb