summaryrefslogtreecommitdiffstats
path: root/sys/fs/ntfs
diff options
context:
space:
mode:
authorsemenu <semenu@FreeBSD.org>2001-09-08 22:53:27 +0000
committersemenu <semenu@FreeBSD.org>2001-09-08 22:53:27 +0000
commit72ce608646b8271247fd964d21b9afcdc13d9329 (patch)
treee0389ae2f579153b51d277342b0194ddd9ed36a5 /sys/fs/ntfs
parent9e2e4a1bbe981dcf9608972ca8f63c861bc292a9 (diff)
downloadFreeBSD-src-72ce608646b8271247fd964d21b9afcdc13d9329.zip
FreeBSD-src-72ce608646b8271247fd964d21b9afcdc13d9329.tar.gz
Fix errors and warnings when compiling with NTFS_DEBUG > 1
MFC after: 2 weeks
Diffstat (limited to 'sys/fs/ntfs')
-rw-r--r--sys/fs/ntfs/ntfs_subr.c4
-rw-r--r--sys/fs/ntfs/ntfs_vfsops.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/fs/ntfs/ntfs_subr.c b/sys/fs/ntfs/ntfs_subr.c
index 6158407..e537abc 100644
--- a/sys/fs/ntfs/ntfs_subr.c
+++ b/sys/fs/ntfs/ntfs_subr.c
@@ -1408,7 +1408,7 @@ ntfs_writentvattr_plain(
return ENOTTY;
}
- ddprintf(("ntfs_writentvattr_plain: data in run: %d chains\n",
+ ddprintf(("ntfs_writentvattr_plain: data in run: %ld chains\n",
vap->va_vruncnt));
off = roff;
@@ -1514,7 +1514,7 @@ ntfs_readntvattr_plain(
struct buf *bp;
size_t tocopy;
- ddprintf(("ntfs_readntvattr_plain: data in run: %d chains\n",
+ ddprintf(("ntfs_readntvattr_plain: data in run: %ld chains\n",
vap->va_vruncnt));
off = roff;
diff --git a/sys/fs/ntfs/ntfs_vfsops.c b/sys/fs/ntfs/ntfs_vfsops.c
index 42a4fcb..b4bfe4e 100644
--- a/sys/fs/ntfs/ntfs_vfsops.c
+++ b/sys/fs/ntfs/ntfs_vfsops.c
@@ -836,8 +836,7 @@ ntfs_fhtovp(
struct ntfid *ntfhp = (struct ntfid *)fhp;
int error;
- ddprintf(("ntfs_fhtovp(): %s: %d\n", mp->mnt_stat->f_mntonname,
- ntfhp->ntfid_ino));
+ ddprintf(("ntfs_fhtovp(): %d\n", ntfhp->ntfid_ino));
if ((error = VFS_VGET(mp, ntfhp->ntfid_ino, &nvp)) != 0) {
*vpp = NULLVP;
@@ -858,8 +857,7 @@ ntfs_vptofh(
register struct ntnode *ntp;
register struct ntfid *ntfhp;
- ddprintf(("ntfs_fhtovp(): %s: %p\n", vp->v_mount->mnt_stat->f_mntonname,
- vp));
+ ddprintf(("ntfs_fhtovp(): %p\n", vp));
ntp = VTONT(vp);
ntfhp = (struct ntfid *)fhp;
OpenPOWER on IntegriCloud