From 20cc390b9bb33cd0ab05c8bbfcd24babad7ec204 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 27 May 2009 18:01:42 +0200 Subject: post-1.14.0 fixes hush significantly updated. fixes for acpid, awk, depmod, dhcp, gzip, mdev, modprobe, sysctl. libbb fixes. Signed-off-by: Denys Vlasenko --- util-linux/mdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util-linux/mdev.c') diff --git a/util-linux/mdev.c b/util-linux/mdev.c index 2451cca..3c4540c 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c @@ -181,7 +181,8 @@ static void make_device(char *path, int delete) * the rest of fields unless keep_matching == 1 */ /* 2nd field: uid:gid - device ownership */ - parse_chown_usergroup_or_die(&ugid, tokens[1]); + if (get_uidgid(&ugid, tokens[1], 1) == 0) + bb_error_msg("unknown user/group %s", tokens[1]); /* 3rd field: mode - device permissions */ mode = strtoul(tokens[2], NULL, 8); -- cgit v1.1