Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ntfs ntfs_statfs(): correct previous: only use mp->mnt_o...



details:   https://anonhg.NetBSD.org/src/rev/a0a3a0ac0700
branches:  trunk
changeset: 475007:a0a3a0ac0700
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Thu Jul 29 07:55:23 1999 +0000

description:
ntfs_statfs(): correct previous: only use mp->mnt_op->vfs_name on NetBSD,
        FreeBSD does it differently

diffstat:

 sys/ntfs/ntfs_vfsops.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e020fe8587a4 -r a0a3a0ac0700 sys/ntfs/ntfs_vfsops.c
--- a/sys/ntfs/ntfs_vfsops.c    Thu Jul 29 07:48:03 1999 +0000
+++ b/sys/ntfs/ntfs_vfsops.c    Thu Jul 29 07:55:23 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntfs_vfsops.c,v 1.6 1999/07/28 20:42:54 jdolecek Exp $ */
+/*     $NetBSD: ntfs_vfsops.c,v 1.7 1999/07/29 07:55:23 jdolecek Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 Semen Ustimenko
@@ -775,7 +775,9 @@
                        (caddr_t)&sbp->f_mntfromname[0], MNAMELEN);
        }
        sbp->f_flags = mp->mnt_flag;
+#ifdef __NetBSD__
        strncpy(sbp->f_fstypename, mp->mnt_op->vfs_name, MFSNAMELEN);
+#endif
        
        return (0);
 }



Home | Main Index | Thread Index | Old Index