fix broken external ioengine option
[fio.git] / t / axmap.c
index 57c585b6798ae9a3d28b17f5a49a25062590ded4..a803ce47bf3386308427c8ebf202ed8df8461625 100644 (file)
--- a/t/axmap.c
+++ b/t/axmap.c
@@ -8,16 +8,6 @@
 #include "../lib/lfsr.h"
 #include "../lib/axmap.h"
 
-void *smalloc(size_t size)
-{
-       return malloc(size);
-}
-
-void sfree(void *ptr)
-{
-       free(ptr);
-}
-
 static int test_regular(size_t size, int seed)
 {
        struct fio_lfsr lfsr;
@@ -37,7 +27,7 @@ static int test_regular(size_t size, int seed)
        while (size--) {
                uint64_t val;
 
-               if (lfsr_next(&lfsr, &val, osize)) {
+               if (lfsr_next(&lfsr, &val)) {
                        printf("lfsr: short loop\n");
                        err = 1;
                        break;