*
*/
-#include "internal.h"
#include <stdio.h>
-
-const char sync_usage[] =
- "sync\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nWrite all buffered filesystem blocks to disk.\n"
-#endif
- ;
+#include <stdlib.h>
+#include <unistd.h>
+#include "busybox.h"
extern int sync_main(int argc, char **argv)
{
if (argc > 1 && **(argv + 1) == '-')
- usage(sync_usage);
- return(sync());
+ show_usage();
+ sync();
+ return(EXIT_SUCCESS);
}