aboutsummaryrefslogtreecommitdiff
path: root/coreutils/install.c
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-05-11 00:39:03 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-05-11 00:39:03 +0000
commit801eb19ab9a2f7225f03434957d5fd1c76919cc0 (patch)
tree0f8cea7ac869802aadea4346d73f122041adad5b /coreutils/install.c
parent92285b9e71a77a02e3b1eb81dc00c5db0faf07ea (diff)
downloadbusybox-w32-801eb19ab9a2f7225f03434957d5fd1c76919cc0.tar.gz
busybox-w32-801eb19ab9a2f7225f03434957d5fd1c76919cc0.tar.bz2
busybox-w32-801eb19ab9a2f7225f03434957d5fd1c76919cc0.zip
change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR)
git-svn-id: svn://busybox.net/trunk/busybox@10289 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/install.c')
-rw-r--r--coreutils/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/install.c b/coreutils/install.c
index 36dc1d618..345e75af0 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -69,7 +69,7 @@ extern int install_main(int argc, char **argv)
69 flags = bb_getopt_ulflags(argc, argv, "cdpsg:m:o:", &gid_str, &mode_str, &uid_str); /* 'a' must be 2nd */ 69 flags = bb_getopt_ulflags(argc, argv, "cdpsg:m:o:", &gid_str, &mode_str, &uid_str); /* 'a' must be 2nd */
70 70
71 /* Check valid options were given */ 71 /* Check valid options were given */
72 if(flags & 0x80000000UL) { 72 if(flags & BB_GETOPT_ERROR) {
73 bb_show_usage(); 73 bb_show_usage();
74 } 74 }
75 75