From 8d89bed8401bfbca9c5ef18f201439b3502e733b Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 7 Sep 2008 23:22:08 +0000 Subject: watchdog: add -T option function old new delta watchdog_main 159 219 +60 mdev: support match by major,minor. See bug 4714. +100 bytes. --- libpwdgrp/uidgid_get.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libpwdgrp/uidgid_get.c') diff --git a/libpwdgrp/uidgid_get.c b/libpwdgrp/uidgid_get.c index ebc7fc5..92290bf 100644 --- a/libpwdgrp/uidgid_get.c +++ b/libpwdgrp/uidgid_get.c @@ -87,15 +87,12 @@ void FAST_FUNC xget_uidgid(struct bb_uidgid_t *u, const char *ug) * ":group" sets gid only * "user:" sets uid and gid (to user's primary group id) * "user:group" sets uid and gid - * ('unset' uid or gid is actually set to -1) + * ('unset' uid or gid retains the value it has on entry) */ void FAST_FUNC parse_chown_usergroup_or_die(struct bb_uidgid_t *u, char *user_group) { char *group; - u->uid = -1; - u->gid = -1; - /* Check if there is a group name */ group = strchr(user_group, '.'); /* deprecated? */ if (!group) -- cgit v1.1