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(): don't forget to copy the fs name int...
details: https://anonhg.NetBSD.org/src/rev/395b0fa83fcc
branches: trunk
changeset: 474992:395b0fa83fcc
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Jul 28 20:42:54 1999 +0000
description:
ntfs_statfs(): don't forget to copy the fs name into struct statfs buffer
on NetBSD
ntfs_vgetex(): make compilable with NTFS_DEBUG defined (should be ok
for both Free&NetBSD)
diffstat:
sys/ntfs/ntfs_vfsops.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 62f121d60966 -r 395b0fa83fcc sys/ntfs/ntfs_vfsops.c
--- a/sys/ntfs/ntfs_vfsops.c Wed Jul 28 20:36:46 1999 +0000
+++ b/sys/ntfs/ntfs_vfsops.c Wed Jul 28 20:42:54 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ntfs_vfsops.c,v 1.5 1999/07/26 14:35:19 jdolecek Exp $ */
+/* $NetBSD: ntfs_vfsops.c,v 1.6 1999/07/28 20:42:54 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 1999 Semen Ustimenko
@@ -775,6 +775,7 @@
(caddr_t)&sbp->f_mntfromname[0], MNAMELEN);
}
sbp->f_flags = mp->mnt_flag;
+ strncpy(sbp->f_fstypename, mp->mnt_op->vfs_name, MFSNAMELEN);
return (0);
}
@@ -843,8 +844,9 @@
struct fnode *fp;
struct vnode *vp;
- dprintf(("ntfs_vgetex: ino: %d, attr: 0x%x:%s, lkf: 0x%x, f: 0x%x\n",
- ino, attrtype, attrname?attrname:"", lkflags, flags ));
+ dprintf(("ntfs_vgetex: ino: %d, attr: 0x%x:%s, lkf: 0x%lx, f: 0x%lx\n",
+ ino, attrtype, attrname?attrname:"", (u_long)lkflags,
+ (u_long)flags ));
ntmp = VFSTONTFS(mp);
*vpp = NULL;
Home |
Main Index |
Thread Index |
Old Index