diff options
Diffstat (limited to 'doc/examples/daemon-depedencies/announce.c')
-rw-r--r-- | doc/examples/daemon-depedencies/announce.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |