diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/ar.c | 2 | ||||
-rw-r--r-- | archival/dpkg_deb.c | 2 | ||||
-rw-r--r-- | archival/tar.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/archival/ar.c b/archival/ar.c index bbdf2fddc..8326aa6de 100644 --- a/archival/ar.c +++ b/archival/ar.c @@ -70,7 +70,7 @@ extern int ar_main(int argc, char **argv) bb_opt_complementaly = "p~tx:t~px:x~pt"; opt = bb_getopt_ulflags(argc, argv, "ptxovcr"); - if ((opt & 0x80000000UL) || (opt == 0) || (optind == argc)) { + if ((opt & BB_GETOPT_ERROR) || (opt == 0) || (optind == argc)) { bb_show_usage(); } diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c index 5aa9881d5..b95ec2d6e 100644 --- a/archival/dpkg_deb.c +++ b/archival/dpkg_deb.c @@ -88,7 +88,7 @@ extern int dpkg_deb_main(int argc, char **argv) argcount = 2; } - if ((optind + argcount != argc) || (opt & 0x80000000UL)) { + if ((optind + argcount != argc) || (opt & BB_GETOPT_ERROR)) { bb_show_usage(); } diff --git a/archival/tar.c b/archival/tar.c index 950e21dd3..b2a212397 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -724,7 +724,7 @@ int tar_main(int argc, char **argv) ); /* Check one and only one context option was given */ - if(opt & 0x80000000UL) { + if(opt & BB_GETOPT_ERROR) { bb_show_usage(); } #ifdef CONFIG_FEATURE_TAR_CREATE |