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/announce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/examples/daemon-depedencies/announce.c') diff --git a/doc/examples/daemon-depedencies/announce.c b/doc/examples/daemon-depedencies/announce.c index 3aacb55..752cc16 100644 --- a/doc/examples/daemon-depedencies/announce.c +++ b/doc/examples/daemon-depedencies/announce.c @@ -17,7 +17,7 @@ int main(int argc, char *argv[]) return fprintf(stderr, "USAGE: %s state daemon", *argv), 2; t(bus_open(&bus, getenv("BUS_INIT"), BUS_WRONLY)); sprintf(arg, "%ji %s %s", (intmax_t)getppid(), argv[1], argv[2]); - t(bus_write(&bus, arg)); + t(bus_write(&bus, arg, 0)); t(bus_close(&bus)); return 0; -- cgit v1.2.3-70-g09d2