Fio 2.2.7
[fio.git] / t / stest.c
index c1794843948392ba1ed1c48f08c2ac0519fcb1b1..efb256efa92d106fe1902de36a5bcdfcf4e1adf7 100644 (file)
--- a/t/stest.c
+++ b/t/stest.c
@@ -4,8 +4,7 @@
 
 #include "../smalloc.h"
 #include "../flist.h"
-
-FILE *f_err;
+#include "debug.h"
 
 #define MAGIC1 0xa9b1c8d2
 #define MAGIC2 0xf0a1e9b3
@@ -70,9 +69,8 @@ static int do_specific_alloc(unsigned long size)
 
 int main(int argc, char *argv[])
 {
-       f_err = stderr;
-
        sinit();
+       debug_init();
 
        do_rand_allocs();