aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-16 01:37:54 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-16 01:37:54 +0200
commit4c1586a032f8afaf9f378f1d0eae5118801299a0 (patch)
tree1dfcb2c7fd9e108b99a5b0d159f5946e3f7fefec /src
parentm (diff)
downloadbus-4c1586a032f8afaf9f378f1d0eae5118801299a0.tar.gz
bus-4c1586a032f8afaf9f378f1d0eae5118801299a0.tar.bz2
bus-4c1586a032f8afaf9f378f1d0eae5118801299a0.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/cmdline.c2
1 files changed, 1 insertions, 1 deletions
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;
}