diff options
author | Randy Dunlap <rddunlap@osdl.org> | 2005-03-03 06:19:53 -0500 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2005-05-05 06:11:47 -0400 |
commit | 8907547d4b099e67762ea4891c127ea1f6dd1cb7 (patch) | |
tree | 74fa9c887db8a7915325ad9a76d874ed134c0d9a /fs/ntfs/debug.c | |
parent | 5ae9fcf8f329baba4bada8719cb0337eef083a1a (diff) |
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) | |||
164 | if (index > -LCN_ENOENT - 1) | 164 | if (index > -LCN_ENOENT - 1) |
165 | index = 3; | 165 | index = 3; |
166 | printk(KERN_DEBUG "%-16Lx %s %-16Lx%s\n", | 166 | printk(KERN_DEBUG "%-16Lx %s %-16Lx%s\n", |
167 | (rl + i)->vcn, lcn_str[index], | 167 | (long long)(rl + i)->vcn, lcn_str[index], |
168 | (rl + i)->length, (rl + i)->length ? | 168 | (long long)(rl + i)->length, |
169 | "" : " (runlist end)"); | 169 | (rl + i)->length ? "" : |
170 | " (runlist end)"); | ||
170 | } else | 171 | } else |
171 | printk(KERN_DEBUG "%-16Lx %-16Lx %-16Lx%s\n", | 172 | printk(KERN_DEBUG "%-16Lx %-16Lx %-16Lx%s\n", |
172 | (rl + i)->vcn, (rl + i)->lcn, | 173 | (long long)(rl + i)->vcn, |
173 | (rl + i)->length, (rl + i)->length ? | 174 | (long long)(rl + i)->lcn, |
174 | "" : " (runlist end)"); | 175 | (long long)(rl + i)->length, |
176 | (rl + i)->length ? "" : | ||
177 | " (runlist end)"); | ||
175 | if (!(rl + i)->length) | 178 | if (!(rl + i)->length) |
176 | break; | 179 | break; |
177 | } | 180 | } |