summaryrefslogtreecommitdiffstats
path: root/fs/fat/dir.c
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2008-11-06 12:53:58 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-06 15:41:22 -0800
commitc3302931db090d87e9015c3a7ce5c97a7dd90f78 (patch)
treed7a1f9a2769630d7cfbcfc6f69199dbf69396e36 /fs/fat/dir.c
parent9ca59f4c3d28df14a1545a1e2832f34a0a50e3ed (diff)
downloadblackbird-obmc-linux-c3302931db090d87e9015c3a7ce5c97a7dd90f78.tar.gz
blackbird-obmc-linux-c3302931db090d87e9015c3a7ce5c97a7dd90f78.zip
fat: i_blocks warning fix
blkcnt_t type depends on CONFIG_LSF. Use unsigned long long always for printk(). But lazy to type it, so add "llu" and use it. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat/dir.c')
-rw-r--r--fs/fat/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/dir.c b/fs/fat/dir.c
index 2ecaa17acdb5..67e058357098 100644
--- a/fs/fat/dir.c
+++ b/fs/fat/dir.c
@@ -86,7 +86,7 @@ next:
*bh = sb_bread(sb, phys);
if (*bh == NULL) {
printk(KERN_ERR "FAT: Directory bread(block %llu) failed\n",
- (unsigned long long)phys);
+ (llu)phys);
/* skip this block */
*pos = (iblock + 1) << sb->s_blocksize_bits;
goto next;
OpenPOWER on IntegriCloud