aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-26 01:41:59 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-26 01:41:59 +0000
commita63f350d93c941c89e2c929893dfa25e423e3b94 (patch)
tree1bb87e684d2a759927dc8937bd616a87d224e478
parent3687d5d6284783a273e718226f27d177839b5a10 (diff)
downloadbusybox-w32-a63f350d93c941c89e2c929893dfa25e423e3b94.tar.gz
busybox-w32-a63f350d93c941c89e2c929893dfa25e423e3b94.tar.bz2
busybox-w32-a63f350d93c941c89e2c929893dfa25e423e3b94.zip
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
-rw-r--r--sysklogd/syslogd.c2
-rw-r--r--syslogd.c2
2 files changed, 0 insertions, 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){
155 perror_msg_and_die("semget"); 155 perror_msg_and_die("semget");
156 }else 156 }else
157 perror_msg_and_die("semget"); 157 perror_msg_and_die("semget");
158 } else {
159 sem_up(s_semid);
160 } 158 }
161 }else{ 159 }else{
162 printf("Buffer already allocated just grab the semaphore?"); 160 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){
155 perror_msg_and_die("semget"); 155 perror_msg_and_die("semget");
156 }else 156 }else
157 perror_msg_and_die("semget"); 157 perror_msg_and_die("semget");
158 } else {
159 sem_up(s_semid);
160 } 158 }
161 }else{ 159 }else{
162 printf("Buffer already allocated just grab the semaphore?"); 160 printf("Buffer already allocated just grab the semaphore?");