t/lfsr-test: fixup time
[fio.git] / t / dedupe.c
index ac5d7f2d4b3a42975f43e1eaabd143f661480b74..3ae17242f4a741bf2ccefd818f4fc8aeea3e6bc4 100644 (file)
 #include "../fio_time.h"
 
 #include "../lib/bloom.h"
-
-FILE *f_err;
-struct timeval *fio_tv = NULL;
-unsigned int fio_debug = 0;
-
-void __dprint(int type, const char *str, ...)
-{
-}
+#include "debug.h"
 
 struct worker_thread {
        pthread_t thread;
@@ -518,6 +511,8 @@ int main(int argc, char *argv[])
        uint64_t nextents, nchunks;
        int c, ret;
 
+       debug_init();
+
        while ((c = getopt(argc, argv, "b:t:d:o:c:p:B:")) != -1) {
                switch (c) {
                case 'b':