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?");