summaryrefslogtreecommitdiffstats
path: root/fs/ntfs/dir.c
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2006-03-07 11:53:46 +0000
committerAnton Altaparmakov <aia21@cantab.net>2006-03-07 11:53:46 +0000
commitbb8047d3540affd6b8c2adac3fe792e07143be0f (patch)
tree8396d13b1400225470eef6e48406bb74a81bd925 /fs/ntfs/dir.c
parent1cf3109ffb26a6ea572fd02436bd10458b4b2187 (diff)
downloadlinux-stable-bb8047d3540affd6b8c2adac3fe792e07143be0f.tar.gz
linux-stable-bb8047d3540affd6b8c2adac3fe792e07143be0f.tar.bz2
linux-stable-bb8047d3540affd6b8c2adac3fe792e07143be0f.zip
NTFS: Fix two compiler warnings on Alpha. Thanks to Andrew Morton for
reporting them. Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/dir.c')
-rw-r--r--fs/ntfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs/dir.c b/fs/ntfs/dir.c
index b0690d4c8906..9d9ed3fe371d 100644
--- a/fs/ntfs/dir.c
+++ b/fs/ntfs/dir.c
@@ -1136,7 +1136,7 @@ static int ntfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
if (fpos == 1) {
ntfs_debug("Calling filldir for .. with len 2, fpos 0x1, "
"inode 0x%lx, DT_DIR.",
- parent_ino(filp->f_dentry));
+ (unsigned long)parent_ino(filp->f_dentry));
rc = filldir(dirent, "..", 2, fpos,
parent_ino(filp->f_dentry), DT_DIR);
if (rc)