aboutsummaryrefslogtreecommitdiff
path: root/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'sync.c')
-rw-r--r--sync.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/sync.c b/sync.c
index 145ed1eda..f8160c8dc 100644
--- a/sync.c
+++ b/sync.c
@@ -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
26extern int 27extern int sync_main(int argc, char **argv)
27sync_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