diff options
Diffstat (limited to 'sbin/mount/mount.c')
-rw-r--r-- | sbin/mount/mount.c | 2 |
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); |