diff options
Diffstat (limited to 'libpwdgrp/uidgid_get.c')
-rw-r--r-- | libpwdgrp/uidgid_get.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpwdgrp/uidgid_get.c b/libpwdgrp/uidgid_get.c index eeb65191f..1199f23f9 100644 --- a/libpwdgrp/uidgid_get.c +++ b/libpwdgrp/uidgid_get.c | |||
@@ -90,6 +90,8 @@ void FAST_FUNC parse_chown_usergroup_or_die(struct bb_uidgid_t *u, char *user_gr | |||
90 | { | 90 | { |
91 | char *group; | 91 | char *group; |
92 | 92 | ||
93 | u->uid = u->gid = (gid_t)-1L; | ||
94 | |||
93 | /* Check if there is a group name */ | 95 | /* Check if there is a group name */ |
94 | group = strchr(user_group, '.'); /* deprecated? */ | 96 | group = strchr(user_group, '.'); /* deprecated? */ |
95 | if (!group) | 97 | if (!group) |