X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ffailtest%2Ffailtest_undo.h;fp=ccan%2Ffailtest%2Ffailtest_undo.h;h=3bb953dedd3f1e4433f377036c51995d0d539d3b;hp=e42a992d93e273494df04a840e965de3bc11a9bd;hb=67bbee5311280dbbf30debe7122d8722c710e3c3;hpb=4f2f6f1eba6cc2bcb0683c50269d1dbbe73ed167 diff --git a/ccan/failtest/failtest_undo.h b/ccan/failtest/failtest_undo.h index e42a992d..3bb953de 100644 --- a/ccan/failtest/failtest_undo.h +++ b/ccan/failtest/failtest_undo.h @@ -35,6 +35,10 @@ #define mmap(addr, length, prot, flags, fd, offset) \ failtest_mmap((addr), (length), (prot), (flags), (fd), (offset), NULL, 0) +#undef lseek +#define lseek(fd, off, whence) \ + failtest_lseek((fd), (off), (whence), NULL, 0) + #undef close #define close(fd) failtest_close(fd)