Whamcloud - gitweb
LU-9803 tests: cast st_blksize for printf 62/28262/4
authorChris Horn <hornc@cray.com>
Thu, 27 Jul 2017 20:10:15 +0000 (15:10 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 28 Aug 2017 06:26:39 +0000 (06:26 +0000)
commit8784406f98dd4ddd98cec9cd728b70b22de3d1bf
treec34326c979ab78ddc76c150516cedb193e7216b7
parent1c4900dcd367d2a0b2e6f26796328f5aa12508db
LU-9803 tests: cast st_blksize for printf

Compilation with -Werror=format complains about this printf. Expects
unsigned long but st_blksize has type __blksize_t. Cast it to unsigned
long for printf

Test-Parameters: trivial
Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: I1eeb5613e485132de8f0bce08bd4d89887e52cf6
Reviewed-on: https://review.whamcloud.com/28262
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Patrick Farrell <paf@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/directio.c