filesetup: create zbd_info before jumping to done label
[fio.git] / log.c
diff --git a/log.c b/log.c
index 562a29aaddfe0e1d42de369cd8e5645afa96f7a3..237bac28899c9feaf603835040732d0901d1acbf 100644 (file)
--- a/log.c
+++ b/log.c
@@ -62,7 +62,7 @@ void log_prevalist(int type, const char *fmt, va_list args)
        free(buf1);
        if (len < 0)
                return;
-       len = log_info_buf(buf2, len);
+       log_info_buf(buf2, len);
        free(buf2);
 }
 #endif