aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs/debug.c
diff options
context:
space:
mode:
authorRandy Dunlap <rddunlap@osdl.org>2005-03-03 11:19:53 +0000
committerAnton Altaparmakov <aia21@cantab.net>2005-05-05 11:11:47 +0100
commit8907547d4b099e67762ea4891c127ea1f6dd1cb7 (patch)
tree74fa9c887db8a7915325ad9a76d874ed134c0d9a /fs/ntfs/debug.c
parentNTFS: - Set the ntfs_inode->allocated_size to the real allocated size in the (diff)
downloadlinux-dev-8907547d4b099e67762ea4891c127ea1f6dd1cb7.tar.xz
linux-dev-8907547d4b099e67762ea4891c127ea1f6dd1cb7.zip
NTFS: Fix printk format warnings on ia64. (Randy Dunlap)
Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/debug.c')
-rw-r--r--fs/ntfs/debug.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/fs/ntfs/debug.c b/fs/ntfs/debug.c
index 6fb6bb5e3723..807150e2c2b9 100644
--- a/fs/ntfs/debug.c
+++ b/fs/ntfs/debug.c
@@ -164,14 +164,17 @@ void ntfs_debug_dump_runlist(const runlist_element *rl)
if (index > -LCN_ENOENT - 1)
index = 3;
printk(KERN_DEBUG "%-16Lx %s %-16Lx%s\n",
- (rl + i)->vcn, lcn_str[index],
- (rl + i)->length, (rl + i)->length ?
- "" : " (runlist end)");
+ (long long)(rl + i)->vcn, lcn_str[index],
+ (long long)(rl + i)->length,
+ (rl + i)->length ? "" :
+ " (runlist end)");
} else
printk(KERN_DEBUG "%-16Lx %-16Lx %-16Lx%s\n",
- (rl + i)->vcn, (rl + i)->lcn,
- (rl + i)->length, (rl + i)->length ?
- "" : " (runlist end)");
+ (long long)(rl + i)->vcn,
+ (long long)(rl + i)->lcn,
+ (long long)(rl + i)->length,
+ (rl + i)->length ? "" :
+ " (runlist end)");
if (!(rl + i)->length)
break;
}