summaryrefslogtreecommitdiff
path: root/coreutils/sync.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-01-04 13:16:08 +0100
committerDenys Vlasenko2010-01-04 13:16:08 +0100
commita355da07756e529c112249653ed5af0e2d910728 (patch)
tree3b36dd1ec8618a39c8324bcfdca77f6f8f497a18 /coreutils/sync.c
parenta4899efd03d2fdaaf3f581d89a7a4844832d3fbb (diff)
downloadbusybox-a355da07756e529c112249653ed5af0e2d910728.zip
busybox-a355da07756e529c112249653ed5af0e2d910728.tar.gz
*: make 2 more "int argc"'s unused; more saved if !DESKTOP
function old new delta sync_main 18 20 +2 tty_main 90 87 -3 iprule_list 83 79 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/sync.c')
-rw-r--r--coreutils/sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/sync.c b/coreutils/sync.c
index f00a3d0..9016655 100644
--- a/coreutils/sync.c
+++ b/coreutils/sync.c
@@ -14,10 +14,10 @@
/* This is a NOFORK applet. Be very careful! */
int sync_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int sync_main(int argc, char **argv UNUSED_PARAM)
+int sync_main(int argc UNUSED_PARAM, char **argv)
{
/* coreutils-6.9 compat */
- bb_warn_ignoring_args(argc - 1);
+ bb_warn_ignoring_args(argv[1]);
sync();