Correct a typo and unbreak the build.
Pointy hat to: pjd
This commit is contained in:
parent
9a830ddc54
commit
ddb842ccb6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125365
@ -528,7 +528,7 @@ prmount(sfp)
|
||||
* Inform when file system is mounted by an unprivileged user
|
||||
* or privileged non-root user.
|
||||
*/
|
||||
if ((flags & MNT_USER) != 0 || sfp->owner != 0) {
|
||||
if ((flags & MNT_USER) != 0 || sfp->f_owner != 0) {
|
||||
(void)printf(", mounted by ");
|
||||
if ((pw = getpwuid(sfp->f_owner)) != NULL)
|
||||
(void)printf("%s", pw->pw_name);
|
||||
|
Loading…
Reference in New Issue
Block a user