X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=coreutils%2Fsync.c;h=d5816806569ee2d6b2968d1fc19896955ad0f9d5;hb=6c32a8add480f2b7b86809d3d79a4555fa884c7f;hp=3737cb1f1822f86aebfb0421116bc048e3ed7fd2;hpb=bf181b9338152759fd56c8009e9a962a84808e7c;p=oweals%2Fbusybox.git diff --git a/coreutils/sync.c b/coreutils/sync.c index 3737cb1f1..d58168065 100644 --- a/coreutils/sync.c +++ b/coreutils/sync.c @@ -2,7 +2,6 @@ /* * Mini sync implementation for busybox * - * * Copyright (C) 1995, 1996 by Bruce Perens . * * This program is free software; you can redistribute it and/or modify @@ -21,12 +20,15 @@ * */ -#include "internal.h" #include +#include +#include +#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); }