aboutsummaryrefslogtreecommitdiff
path: root/archival/tar.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-11 00:39:03 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-11 00:39:03 +0000
commit348e84c202c4946d3694f130a6f81f61eb1d4b9e (patch)
tree0f8cea7ac869802aadea4346d73f122041adad5b /archival/tar.c
parent55e2cf6533582ba0e795176103df0df22436b230 (diff)
downloadbusybox-348e84c202c4946d3694f130a6f81f61eb1d4b9e.tar.gz
change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR)
Diffstat (limited to 'archival/tar.c')
-rw-r--r--archival/tar.c2
1 files changed, 1 insertions, 1 deletions
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