diff --git a/coreutils/sync.c b/coreutils/sync.c index fc5a42b8a..3d4686efa 100644 --- a/coreutils/sync.c +++ b/coreutils/sync.c @@ -23,11 +23,13 @@ #include "busybox.h" #include +#include #include extern int sync_main(int argc, char **argv) { if (argc > 1 && **(argv + 1) == '-') show_usage(); - return(sync()); + sync(); + return(EXIT_SUCCESS); } diff --git a/sync.c b/sync.c index fc5a42b8a..3d4686efa 100644 --- a/sync.c +++ b/sync.c @@ -23,11 +23,13 @@ #include "busybox.h" #include +#include #include extern int sync_main(int argc, char **argv) { if (argc > 1 && **(argv + 1) == '-') show_usage(); - return(sync()); + sync(); + return(EXIT_SUCCESS); }