summaryrefslogtreecommitdiff
path: root/sys/ntfs
diff options
context:
space:
mode:
authornatano <natano@cvs.openbsd.org>2016-03-05 20:40:06 +0000
committernatano <natano@cvs.openbsd.org>2016-03-05 20:40:06 +0000
commitc341a0c8f1e57d9c239ba784df88fa2b337aff04 (patch)
tree5c449cc365caf9a367432622ae5b24d2f0a44b43 /sys/ntfs
parent89a4d28671757620eb8061b15ee0a850d8404c27 (diff)
ntfs populates ntfs_args, not msdosfs_args; ok espie@
Diffstat (limited to 'sys/ntfs')
-rw-r--r--sys/ntfs/ntfs_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ntfs/ntfs_vfsops.c b/sys/ntfs/ntfs_vfsops.c
index f81873584ca..e3137681965 100644
--- a/sys/ntfs/ntfs_vfsops.c
+++ b/sys/ntfs/ntfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_vfsops.c,v 1.45 2016/02/27 18:50:38 natano Exp $ */
+/* $OpenBSD: ntfs_vfsops.c,v 1.46 2016/03/05 20:40:05 natano Exp $ */
/* $NetBSD: ntfs_vfsops.c,v 1.7 2003/04/24 07:50:19 christos Exp $ */
/*-
@@ -618,8 +618,8 @@ ntfs_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
if (sbp != &mp->mnt_stat) {
bcopy(mp->mnt_stat.f_mntonname, sbp->f_mntonname, MNAMELEN);
bcopy(mp->mnt_stat.f_mntfromname, sbp->f_mntfromname, MNAMELEN);
- bcopy(&mp->mnt_stat.mount_info.msdosfs_args,
- &sbp->mount_info.msdosfs_args, sizeof(struct msdosfs_args));
+ bcopy(&mp->mnt_stat.mount_info.ntfs_args,
+ &sbp->mount_info.ntfs_args, sizeof(struct ntfs_args));
}
strncpy(sbp->f_fstypename, mp->mnt_vfc->vfc_name, MFSNAMELEN);