]> git.baikalelectronics.ru Git - kernel.git/commit
nilfs2: fix format string compile warning (ino_t)
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 3 Sep 2009 15:42:48 +0000 (17:42 +0200)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 14 Sep 2009 09:27:13 +0000 (18:27 +0900)
commit4d0f7325dd8037a8db498a50fd87e82112f8365c
treee4ee23f43dad9da26ee470b54ef1afcc41971ddc
parentef23f1f564cefff98670bf00f3425bdf31ca5581
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>
fs/nilfs2/recovery.c