aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-16 01:33:02 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-16 01:33:02 +0200
commit7ca85ee05a9e673f4bd4f9a410f313a99034f803 (patch)
tree29c8d62a52b9718ed3d2e1d3772cd665e8fdd43c /src
parentmisc (diff)
downloadbus-7ca85ee05a9e673f4bd4f9a410f313a99034f803.tar.gz
bus-7ca85ee05a9e673f4bd4f9a410f313a99034f803.tar.bz2
bus-7ca85ee05a9e673f4bd4f9a410f313a99034f803.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/cmdline.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cmdline.c b/src/cmdline.c
index 6c70f33..80d7c4f 100644
--- a/src/cmdline.c
+++ b/src/cmdline.c
@@ -298,11 +298,7 @@ main(int argc, char *argv[])
t(zero_semaphore(Q));
t(read_shared_memory(read_message));
spawn(argv[2], read_message);
- t(release_semaphore(W, 1, 1));
t(acquire_semaphore(S, 1, 1));
- t(zero_semaphore(S));
- t(release_semaphore(S, 1, 1));
- t(acquire_semaphore(W, 1, 1));
} else if ((argc == 3) && !strcmp(argv[1], "broadcast")) {
t(get_keys());