From 39de947ca8fb40a08f0cf5545071ff98348a8baa Mon Sep 17 00:00:00 2001 From: nectar Date: Tue, 3 Feb 2004 04:03:19 +0000 Subject: Correct a typo and unbreak the build. Pointy hat to: pjd --- sbin/mount/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/mount') 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); -- cgit v1.1