aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-27 01:17:21 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-27 01:17:24 +0200
commitdc61596aabe1d74718ba999f1002e0d7d88a944e (patch)
tree791c63a21524240a918d3f25fcee7e801461cad8 /src/cmdline.c
parentm whitespace (diff)
downloadbus-dc61596aabe1d74718ba999f1002e0d7d88a944e.tar.gz
bus-dc61596aabe1d74718ba999f1002e0d7d88a944e.tar.bz2
bus-dc61596aabe1d74718ba999f1002e0d7d88a944e.tar.xz
add nowait option to bus_write
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/cmdline.c')
-rw-r--r--src/cmdline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmdline.c b/src/cmdline.c
index d6df97a..03efdf3 100644
--- a/src/cmdline.c
+++ b/src/cmdline.c
@@ -148,7 +148,7 @@ main(int argc, char *argv[])
/* Broadcast a message on a bus. */
} else if ((argc == 4) && !strcmp(argv[1], "broadcast")) {
t(bus_open(&bus, argv[2], BUS_WRONLY));
- t(bus_write(&bus, argv[3]));
+ t(bus_write(&bus, argv[3], 0));
t(bus_close(&bus));
} else