From ddb842ccb674690c1d77ccad4ed3aea51e473f21 Mon Sep 17 00:00:00 2001 From: Jacques Vidrine Date: Tue, 3 Feb 2004 04:03:19 +0000 Subject: [PATCH] Correct a typo and unbreak the build. Pointy hat to: pjd --- sbin/mount/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index f944671c6276..f05490f41540 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);