572d749245972afa18ff1c42586400e72829f4e5
[oweals/busybox.git] / sync.c
1 #include "internal.h"
2 #include <stdio.h>
3
4 extern int
5 sync_main(int argc, char * * argv)
6 {
7     if ( **(argv+1) == '-' ) {
8         fprintf(stderr, "Usage: sync\nWrite all buffered filesystem blocks to disk.\n");
9         exit(FALSE);
10     }
11         return sync();
12 }
13