Turn old debug printf() into a proper log_err()
authorJens Axboe <axboe@kernel.dk>
Tue, 18 Oct 2011 12:39:30 +0000 (14:39 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 18 Oct 2011 12:39:30 +0000 (14:39 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fio.c

diff --git a/fio.c b/fio.c
index 3f6a586..c18df12 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -833,7 +833,7 @@ sync_done:
        }
 
        if (td->trim_entries)
-               printf("trim entries %ld\n", td->trim_entries);
+               log_err("fio: %d trim entries leaked?\n", td->trim_entries);
 
        if (td->o.fill_device && td->error == ENOSPC) {
                td->error = 0;