aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/telephony-and-music/end-call.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/telephony-and-music/end-call.c')
-rw-r--r--doc/examples/telephony-and-music/end-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/telephony-and-music/end-call.c b/doc/examples/telephony-and-music/end-call.c
index edd9754..6198cbb 100644
--- a/doc/examples/telephony-and-music/end-call.c
+++ b/doc/examples/telephony-and-music/end-call.c
@@ -17,7 +17,7 @@ int main()
sprintf(message, "%ji unforce-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;