X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=sync.c;h=33c79228d7108f5398aee9492cd9824f8dccd3ce;hb=36fe1a30b1958351de2b8065cb19d3d1b8ed1b33;hp=cb4690c0238826f919ac587908217241febf9fd5;hpb=be971d6b693ca9cd1c9aa9eb6053aa2592c40547;p=oweals%2Fbusybox.git diff --git a/sync.c b/sync.c index cb4690c02..33c79228d 100644 --- a/sync.c +++ b/sync.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * Mini sync implementation for busybox * @@ -23,12 +24,14 @@ #include "internal.h" #include -extern int -sync_main(int argc, char * * argv) +extern int sync_main(int argc, char **argv) { - if ( argc>1 && **(argv+1) == '-' ) { - usage( "sync\nWrite all buffered filesystem blocks to disk.\n"); - } - exit( sync()); + if (argc > 1 && **(argv + 1) == '-') { + usage("sync\n" +#ifndef BB_FEATURE_TRIVIAL_HELP + "\nWrite all buffered filesystem blocks to disk.\n" +#endif + ); + } + exit(sync()); } -