diff options
Diffstat (limited to 'doc/examples/nonblocking/cleanup.c')
-rw-r--r-- | doc/examples/nonblocking/cleanup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/examples/nonblocking/cleanup.c b/doc/examples/nonblocking/cleanup.c index 00f07bc..bf54226 100644 --- a/doc/examples/nonblocking/cleanup.c +++ b/doc/examples/nonblocking/cleanup.c @@ -1,7 +1,8 @@ #include <bus.h> #include <stdio.h> -int main() +int +main() { return bus_unlink("/tmp/example-bus") && (perror("cleanup"), 1); } |