Correct a typo and unbreak the build.

Pointy hat to:	pjd
This commit is contained in:
Jacques Vidrine 2004-02-03 04:03:19 +00:00
parent 9a830ddc54
commit ddb842ccb6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125365

View File

@ -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);