diff options
author | Randy Dunlap <rddunlap@osdl.org> | 2005-03-03 12:19:53 +0100 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2005-05-05 12:11:47 +0200 |
commit | 8907547d4b099e67762ea4891c127ea1f6dd1cb7 (patch) | |
tree | 74fa9c887db8a7915325ad9a76d874ed134c0d9a /fs/ntfs/debug.c | |
parent | NTFS: - Set the ntfs_inode->allocated_size to the real allocated size in the (diff) | |
download | linux-8907547d4b099e67762ea4891c127ea1f6dd1cb7.tar.xz linux-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.c | 15 |
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; } |