diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-09-03 17:42:48 +0200 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-09-14 18:27:13 +0900 |
commit | b5696e5e0dbfb6323277d51d67d230317c18aba9 (patch) | |
tree | e4ee23f43dad9da26ee470b54ef1afcc41971ddc /fs/nilfs2/recovery.c | |
parent | 1b2f5a641bca91966fd91dc489238068a0ab4b69 (diff) | |
download | linux-b5696e5e0dbfb6323277d51d67d230317c18aba9.tar.gz linux-b5696e5e0dbfb6323277d51d67d230317c18aba9.tar.bz2 linux-b5696e5e0dbfb6323277d51d67d230317c18aba9.zip |
nilfs2: fix format string compile warning (ino_t)
Unlike on most other architectures ino_t is an unsigned int on s390.
So add an explicit cast to avoid this compile warning:
fs/nilfs2/recovery.c: In function 'recover_dsync_blocks':
fs/nilfs2/recovery.c:555: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'ino_t'
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/recovery.c')
-rw-r--r-- | fs/nilfs2/recovery.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nilfs2/recovery.c b/fs/nilfs2/recovery.c index d80cc71be749..6dc83591d118 100644 --- a/fs/nilfs2/recovery.c +++ b/fs/nilfs2/recovery.c @@ -552,7 +552,8 @@ static int recover_dsync_blocks(struct nilfs_sb_info *sbi, printk(KERN_WARNING "NILFS warning: error recovering data block " "(err=%d, ino=%lu, block-offset=%llu)\n", - err, rb->ino, (unsigned long long)rb->blkoff); + err, (unsigned long)rb->ino, + (unsigned long long)rb->blkoff); if (!err2) err2 = err; next: |