groups[] is of type gid_t.
This commit is contained in:
parent
ffaf90b1ec
commit
25738fbcc5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3032
@ -238,7 +238,7 @@ chownerr(file)
|
||||
char *file;
|
||||
{
|
||||
static int euid = -1, ngroups = -1;
|
||||
int groups[NGROUPS];
|
||||
gid_t groups[NGROUPS];
|
||||
|
||||
/* Check for chown without being root. */
|
||||
if (errno != EPERM ||
|
||||
|
Loading…
Reference in New Issue
Block a user