diff options
author | Glenn L McGrath | 2001-06-26 01:41:59 +0000 |
---|---|---|
committer | Glenn L McGrath | 2001-06-26 01:41:59 +0000 |
commit | addabd6f16aece578d94d810d3a9e9dc88f2cdb7 (patch) | |
tree | 1bb87e684d2a759927dc8937bd616a87d224e478 | |
parent | f8736d251e4291e414bd0bdaca2346cd7ef265dd (diff) | |
download | busybox-addabd6f16aece578d94d810d3a9e9dc88f2cdb7.zip busybox-addabd6f16aece578d94d810d3a9e9dc88f2cdb7.tar.gz |
Patch from Gennady Feldman
This should fix "circular buffer" error message shown when running "syslogd -C"
-rw-r--r-- | sysklogd/syslogd.c | 2 | ||||
-rw-r--r-- | syslogd.c | 2 |
2 files changed, 0 insertions, 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?"); @@ -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?"); |