summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorGlenn L McGrath2001-06-26 01:41:59 +0000
committerGlenn L McGrath2001-06-26 01:41:59 +0000
commitaddabd6f16aece578d94d810d3a9e9dc88f2cdb7 (patch)
tree1bb87e684d2a759927dc8937bd616a87d224e478 /sysklogd
parentf8736d251e4291e414bd0bdaca2346cd7ef265dd (diff)
downloadbusybox-addabd6f16aece578d94d810d3a9e9dc88f2cdb7.zip
busybox-addabd6f16aece578d94d810d3a9e9dc88f2cdb7.tar.gz
Patch from Gennady Feldman
This should fix "circular buffer" error message shown when running "syslogd -C"
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 0 insertions, 2 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?");