summaryrefslogtreecommitdiffstats
path: root/sbin/mount
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2004-02-03 04:03:19 +0000
committernectar <nectar@FreeBSD.org>2004-02-03 04:03:19 +0000
commit39de947ca8fb40a08f0cf5545071ff98348a8baa (patch)
treeb51ad0b388d1300a763d5ae5d7e659e6db6dfbb4 /sbin/mount
parent952cd3ca81cb5800aa86934f9e2cdead5420a38e (diff)
downloadFreeBSD-src-39de947ca8fb40a08f0cf5545071ff98348a8baa.zip
FreeBSD-src-39de947ca8fb40a08f0cf5545071ff98348a8baa.tar.gz
Correct a typo and unbreak the build.
Pointy hat to: pjd
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index f944671..f05490f 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -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);
OpenPOWER on IntegriCloud