iolog: fix link without zlib
authorJens Axboe <axboe@fb.com>
Tue, 8 Jul 2014 12:24:54 +0000 (14:24 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 8 Jul 2014 12:24:54 +0000 (14:24 +0200)
Signed-off-by: Jens Axboe <axboe@fb.com>
iolog.c

diff --git a/iolog.c b/iolog.c
index 19e96d2672fe3491fd27d2cd9eff9bdb6bb4c906..3b39f4c6ba6e5f8c919bd7c00d06d3235cb3feb4 100644 (file)
--- a/iolog.c
+++ b/iolog.c
@@ -900,6 +900,12 @@ static int inflate_gz_chunks(struct io_log *log, FILE *f)
        return 0;
 }
 
+int iolog_file_inflate(const char *file)
+{
+       log_err("fio: log inflation not possible without zlib\n");
+       return 1;
+}
+
 #endif
 
 void flush_log(struct io_log *log)