From 08c44a557efc1cf301c39b5a81f8db4ccd7baa2d Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Tue, 7 Mar 2017 22:12:56 +0200 Subject: [PATCH] Fix debug print format of file ->file_name This should be %s. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- filesetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesetup.c b/filesetup.c index edc56a33..ae7f8171 100644 --- a/filesetup.c +++ b/filesetup.c @@ -693,7 +693,7 @@ static int get_file_sizes(struct thread_data *td) int err = 0; for_each_file(td, f, i) { - dprint(FD_FILE, "get file size for %p/%d/%p\n", f, i, + dprint(FD_FILE, "get file size for %p/%d/%s\n", f, i, f->file_name); if (td_io_get_file_size(td, f)) { -- 2.25.1