From: Jens Axboe Date: Tue, 8 Jul 2014 12:24:54 +0000 (+0200) Subject: iolog: fix link without zlib X-Git-Tag: fio-2.1.11~8 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=a68c66b25470a0f6cae4e6955bbef767ec9e4d68 iolog: fix link without zlib Signed-off-by: Jens Axboe --- diff --git a/iolog.c b/iolog.c index 19e96d26..3b39f4c6 100644 --- 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)