diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-11 00:39:03 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-11 00:39:03 +0000 |
commit | 348e84c202c4946d3694f130a6f81f61eb1d4b9e (patch) | |
tree | 0f8cea7ac869802aadea4346d73f122041adad5b /archival/ar.c | |
parent | 55e2cf6533582ba0e795176103df0df22436b230 (diff) | |
download | busybox-w32-348e84c202c4946d3694f130a6f81f61eb1d4b9e.tar.gz busybox-w32-348e84c202c4946d3694f130a6f81f61eb1d4b9e.tar.bz2 busybox-w32-348e84c202c4946d3694f130a6f81f61eb1d4b9e.zip |
change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR)
Diffstat (limited to 'archival/ar.c')
-rw-r--r-- | archival/ar.c | 2 |
1 files changed, 1 insertions, 1 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) | |||
70 | bb_opt_complementaly = "p~tx:t~px:x~pt"; | 70 | bb_opt_complementaly = "p~tx:t~px:x~pt"; |
71 | opt = bb_getopt_ulflags(argc, argv, "ptxovcr"); | 71 | opt = bb_getopt_ulflags(argc, argv, "ptxovcr"); |
72 | 72 | ||
73 | if ((opt & 0x80000000UL) || (opt == 0) || (optind == argc)) { | 73 | if ((opt & BB_GETOPT_ERROR) || (opt == 0) || (optind == argc)) { |
74 | bb_show_usage(); | 74 | bb_show_usage(); |
75 | } | 75 | } |
76 | 76 | ||