summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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?");