diff options
Diffstat (limited to 'sync.c')
-rw-r--r-- | sync.c | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * Mini sync implementation for busybox | 3 | * Mini sync implementation for busybox |
3 | * | 4 | * |
@@ -23,12 +24,10 @@ | |||
23 | #include "internal.h" | 24 | #include "internal.h" |
24 | #include <stdio.h> | 25 | #include <stdio.h> |
25 | 26 | ||
26 | extern int | 27 | extern int sync_main(int argc, char **argv) |
27 | sync_main(int argc, char * * argv) | ||
28 | { | 28 | { |
29 | if ( argc>1 && **(argv+1) == '-' ) { | 29 | if (argc > 1 && **(argv + 1) == '-') { |
30 | usage( "sync\n\nWrite all buffered filesystem blocks to disk.\n"); | 30 | usage("sync\n\nWrite all buffered filesystem blocks to disk.\n"); |
31 | } | 31 | } |
32 | exit( sync()); | 32 | exit(sync()); |
33 | } | 33 | } |
34 | |||