mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Fix errors and warnings when compiling with NTFS_DEBUG > 1
MFC after: 2 weeks
This commit is contained in:
parent
013e09a432
commit
831aac011e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83225
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user