mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-25 16:13:17 +00:00
Explicitly say which gid do we use as a fallback, when operator
is not found. Suggested by: kensmith
This commit is contained in:
parent
37fe50c382
commit
3a6ab3de8d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162689
@ -755,7 +755,7 @@ fsinit(time_t utime)
|
||||
if ((grp = getgrnam("operator")) != NULL) {
|
||||
gid = grp->gr_gid;
|
||||
} else {
|
||||
warnx("Cannot retrieve operator gid.");
|
||||
warnx("Cannot retrieve operator gid, using gid 0.");
|
||||
gid = 0;
|
||||
}
|
||||
entries = (nflag) ? ROOTLINKCNT - 1: ROOTLINKCNT;
|
||||
|
Loading…
Reference in New Issue
Block a user