block: Add __attribute__((format(printf...) and fix fallout

Use the compiler to verify format strings and arguments.

Fix fallout.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
This commit is contained in:
Joe Perches 2011-06-13 10:42:49 +02:00 • committed by Jens Axboe
commit 08e8138ade
3 changed files with 10 additions and 8 deletions