From ae94bb1a7003c42c43356705d10d841446b6ca28 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 15 May 2015 13:34:07 +0200 Subject: update examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/examples/daemon-depedencies/test-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/examples/daemon-depedencies/test-daemon.c') 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"; -- cgit v1.2.3-70-g09d2