projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch from Shaun Jackman to save a few bytes.
[oweals/busybox.git]
/
coreutils
/
id.c
diff --git
a/coreutils/id.c
b/coreutils/id.c
index 541c3d16b441c9344b0048e777cfa60299ad04b9..6360491688e46d7d90a84d5b511ff1c7cc55ed1d 100644
(file)
--- a/
coreutils/id.c
+++ b/
coreutils/id.c
@@
-64,7
+64,7
@@
extern int id_main(int argc, char **argv)
bb_opt_complementaly = "u~g:g~u";
flags = bb_getopt_ulflags(argc, argv, "rnug");
bb_opt_complementaly = "u~g:g~u";
flags = bb_getopt_ulflags(argc, argv, "rnug");
- if ((flags &
0x80000000UL
)
+ if ((flags &
BB_GETOPT_ERROR
)
/* Don't allow -n -r -nr */
|| (flags <= 3 && flags > 0)
/* Don't allow more than one username */
/* Don't allow -n -r -nr */
|| (flags <= 3 && flags > 0)
/* Don't allow more than one username */