summaryrefslogtreecommitdiff
path: root/coreutils/id.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 /coreutils/id.c
parent55e2cf6533582ba0e795176103df0df22436b230 (diff)
downloadbusybox-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 'coreutils/id.c')
-rw-r--r--coreutils/id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/id.c b/coreutils/id.c
index 541c3d16b..636049168 100644
--- a/coreutils/id.c
+++ b/coreutils/id.c
@@ -64,7 +64,7 @@ extern int id_main(int argc, char **argv)
64 bb_opt_complementaly = "u~g:g~u"; 64 bb_opt_complementaly = "u~g:g~u";
65 flags = bb_getopt_ulflags(argc, argv, "rnug"); 65 flags = bb_getopt_ulflags(argc, argv, "rnug");
66 66
67 if ((flags & 0x80000000UL) 67 if ((flags & BB_GETOPT_ERROR)
68 /* Don't allow -n -r -nr */ 68 /* Don't allow -n -r -nr */
69 || (flags <= 3 && flags > 0) 69 || (flags <= 3 && flags > 0)
70 /* Don't allow more than one username */ 70 /* Don't allow more than one username */