X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ffailtest%2Ftest%2Frun-locking.c;h=6ebcd6ea504017b6de1374ed40020545c02077d5;hb=b0a59bdcb3356eec66015bcdffd9a3fbaef0489a;hp=b25cfab9a29b36793359cda9c991f772b6a2c22c;hpb=5e1616698e06e2ce661122c6c9b04aae50271be8;p=ccan diff --git a/ccan/failtest/test/run-locking.c b/ccan/failtest/test/run-locking.c index b25cfab9..6ebcd6ea 100644 --- a/ccan/failtest/test/run-locking.c +++ b/ccan/failtest/test/run-locking.c @@ -10,9 +10,10 @@ #define SIZE 8 /* We don't want to fork and fail; we're just testing lock recording. */ -static bool dont_fail(struct failtest_call *history, unsigned num) +static enum failtest_result dont_fail(struct failtest_call *history, + unsigned num) { - return false; + return FAIL_DONT_FAIL; } static bool place_lock(int fd, char lockarr[], unsigned pos, unsigned size,