groups[] is of type gid_t.
This commit is contained in:
parent
f9718d83a6
commit
be96a45601
@ -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…
x
Reference in New Issue
Block a user