Permalink
Browse files

kernel/ntfs - Fix warnings when compiling with NTFS_DEBUG

  • Loading branch information...
1 parent dbf753c commit 392852829d5265d6815c38c5791174c6d8cf5f6c @tuxillo tuxillo committed Feb 25, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 sys/vfs/ntfs/ntfs_subr.c
  2. +1 −1 sys/vfs/ntfs/ntfs_vfsops.c
View
@@ -381,7 +381,7 @@ ntfs_ntlookup(struct ntfsmount *ntmp, ino_t ino, struct ntnode **ipp)
} while (LOCKMGR(&ntfs_hashlock, LK_EXCLUSIVE | LK_SLEEPFAIL));
ip = kmalloc(sizeof(struct ntnode), M_NTFSNTNODE, M_WAITOK | M_ZERO);
- ddprintf(("ntfs_ntlookup: allocating ntnode: %d: %p\n", ino, ip));
+ ddprintf(("ntfs_ntlookup: allocating ntnode: %ju: %p\n", ino, ip));
/* Generic initialization */
ip->i_devvp = ntmp->ntm_devvp;
@@ -814,7 +814,7 @@ ntfs_fhtovp(struct mount *mp, struct vnode *rootvp,
struct ntfid *ntfhp = (struct ntfid *)fhp;
int error;
- ddprintf(("ntfs_fhtovp(): %d\n", ntfhp->ntfid_ino));
+ ddprintf(("ntfs_fhtovp(): %ju\n", ntfhp->ntfid_ino));
if ((error = VFS_VGET(mp, NULL, ntfhp->ntfid_ino, &nvp)) != 0) {
*vpp = NULLVP;

0 comments on commit 3928528

Please sign in to comment.