diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-16 00:01:08 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-16 00:01:08 +0200 |
commit | 4566e172eb2423bdcec68babde907cd06e8fc997 (patch) | |
tree | 697f14694d44908670baa221d20b311c4d7294e0 /util-linux/mdev.c | |
parent | e0238f852b7a492581414b5aecb8a438f2fc4c77 (diff) | |
download | busybox-w32-4566e172eb2423bdcec68babde907cd06e8fc997.tar.gz busybox-w32-4566e172eb2423bdcec68babde907cd06e8fc997.tar.bz2 busybox-w32-4566e172eb2423bdcec68babde907cd06e8fc997.zip |
simplify parsing of /etc/busybox.conf
function old new delta
parse_config_file 799 667 -132
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-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 2f225ac0b..7cabb1df6 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c | |||
@@ -292,7 +292,7 @@ static void make_device(char *path, int delete) | |||
292 | * the rest the line unless keep_matching == 1 */ | 292 | * the rest the line unless keep_matching == 1 */ |
293 | 293 | ||
294 | /* 2nd field: uid:gid - device ownership */ | 294 | /* 2nd field: uid:gid - device ownership */ |
295 | if (get_uidgid(&ugid, tokens[1], 1) == 0) | 295 | if (get_uidgid(&ugid, tokens[1], /*allow_numeric:*/ 1) == 0) |
296 | bb_error_msg("unknown user/group %s on line %d", tokens[1], parser->lineno); | 296 | bb_error_msg("unknown user/group %s on line %d", tokens[1], parser->lineno); |
297 | 297 | ||
298 | /* 3rd field: mode - device permissions */ | 298 | /* 3rd field: mode - device permissions */ |