aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/daemon-depedencies/test-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/daemon-depedencies/test-daemon.c')
-rw-r--r--doc/examples/daemon-depedencies/test-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/daemon-depedencies/test-daemon.c b/doc/examples/daemon-depedencies/test-daemon.c
index 86095a1..386d107 100644
--- a/doc/examples/daemon-depedencies/test-daemon.c
+++ b/doc/examples/daemon-depedencies/test-daemon.c
@@ -19,7 +19,7 @@ retry:
if (!WEXITSTATUS(system(arg))) {
t(bus_open(&bus, getenv("BUS_INIT"), BUS_WRONLY));
sprintf(arg, "0 %s %s", argv[2], argv[1]);
- t(bus_write(&bus, arg));
+ t(bus_write(&bus, arg, 0));
bus_close(&bus);
} else if (!strcmp(argv[2], "started")) {
argv[2] = "ready";