From 4c1586a032f8afaf9f378f1d0eae5118801299a0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 16 Apr 2015 01:37:54 +0200 Subject: typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmdline.c b/src/cmdline.c index 80d7c4f..a6a7c98 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -161,7 +161,7 @@ fail: static int remove_semaphores(void) { - int id = semget(key_shm, SEMAPHORES, 0600); + int id = semget(key_sem, SEMAPHORES, 0600); return ((id == -1) || (semctl(id, 0, IPC_RMID) == -1)) ? -1 : 0; } -- cgit v1.2.3-70-g09d2