X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ffailtest%2Ffailtest_override.h;h=90d1bfdc48a9f07064e323522b6687d25c24957e;hb=5e1616698e06e2ce661122c6c9b04aae50271be8;hp=dd328b508a5433911888affaa0f4e73227fdd67c;hpb=f0002cb9e4f6f403a25ad50252c06694439900f0;p=ccan diff --git a/ccan/failtest/failtest_override.h b/ccan/failtest/failtest_override.h index dd328b50..90d1bfdc 100644 --- a/ccan/failtest/failtest_override.h +++ b/ccan/failtest/failtest_override.h @@ -42,6 +42,9 @@ #undef close #define close(fd) failtest_close(fd) +#undef fcntl +#define fcntl(fd, ...) failtest_fcntl((fd), __FILE__, __LINE__, __VA_ARGS__) + #include #endif /* CCAN_FAILTEST_OVERRIDE_H */