diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-19 04:27:17 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-19 04:27:17 +0200 |
commit | 526d85831e7480b9c7a3673d8dd356a438e6dd74 (patch) | |
tree | 0063fe2362ecaf3252ccf2a5042bf541546eedd6 /util-linux | |
parent | f3d58a29be7cbf5c0bf94f1a12ac747f706b3d99 (diff) | |
download | busybox-526d85831e7480b9c7a3673d8dd356a438e6dd74.tar.gz |
libbb: get_uidgid() always called with allow_numeric=1
function old new delta
xget_uidgid 30 25 -5
make_device 2188 2183 -5
main 797 792 -5
get_uidgid 240 225 -15
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/mdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c index 51781d597..37fa56827 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c @@ -400,7 +400,7 @@ static void parse_next_rule(void) } /* 2nd field: uid:gid - device ownership */ - if (get_uidgid(&G.cur_rule.ugid, tokens[1], /*allow_numeric:*/ 1) == 0) { + if (get_uidgid(&G.cur_rule.ugid, tokens[1]) == 0) { bb_error_msg("unknown user/group '%s' on line %d", tokens[1], G.parser->lineno); goto next_rule; } |