diff options
Diffstat (limited to 'doc/examples/timed/init.c')
-rw-r--r-- | doc/examples/timed/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/examples/timed/init.c b/doc/examples/timed/init.c index 870e10d..d1325fb 100644 --- a/doc/examples/timed/init.c +++ b/doc/examples/timed/init.c @@ -1,7 +1,8 @@ #include <bus.h> #include <stdio.h> -int main() +int +main() { return bus_create("/tmp/example-bus", 0, NULL) && (perror("init"), 1); } |