aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/telephony-and-music/receive-or-make-call.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-15 13:34:07 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-15 13:34:07 +0200
commitae94bb1a7003c42c43356705d10d841446b6ca28 (patch)
tree7f6e10d3dc5dd9c60fb924f8900fbebf1ec55473 /doc/examples/telephony-and-music/receive-or-make-call.c
parentdoc: bus-chmod: octals (diff)
downloadbus-ae94bb1a7003c42c43356705d10d841446b6ca28.tar.gz
bus-ae94bb1a7003c42c43356705d10d841446b6ca28.tar.bz2
bus-ae94bb1a7003c42c43356705d10d841446b6ca28.tar.xz
update examples
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/examples/telephony-and-music/receive-or-make-call.c')
-rw-r--r--doc/examples/telephony-and-music/receive-or-make-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/telephony-and-music/receive-or-make-call.c b/doc/examples/telephony-and-music/receive-or-make-call.c
index cdd7390..92132fa 100644
--- a/doc/examples/telephony-and-music/receive-or-make-call.c
+++ b/doc/examples/telephony-and-music/receive-or-make-call.c
@@ -17,7 +17,7 @@ int main()
sprintf(message, "%ji force-pause", (intmax_t)getppid());
/* Yes, PPID; in this example we pretend the shell is the telephony process. */
t(bus_open(&bus, "/tmp/example-bus", BUS_WRONLY));
- t(bus_write(&bus, message));
+ t(bus_write(&bus, message, 0));
bus_close(&bus);
return 0;