X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ffailtest%2Ffailtest.h;h=9af5669678f2295edccb5cbea4cb777016f40b8f;hp=5c80bfeea82cf74302517c0569d146561a139c68;hb=HEAD;hpb=67bbee5311280dbbf30debe7122d8722c710e3c3 diff --git a/ccan/failtest/failtest.h b/ccan/failtest/failtest.h index 5c80bfee..9af56696 100644 --- a/ccan/failtest/failtest.h +++ b/ccan/failtest/failtest.h @@ -214,7 +214,7 @@ enum failtest_result { * static enum failtest_result dont_fail_alloc(struct tlist_calls *history) * { * struct failtest_call *call; - * call = tlist_tail(history, struct failtest_call, list); + * call = tlist_tail(history, list); * if (call->type == FAILTEST_MALLOC * || call->type == FAILTEST_CALLOC * || call->type == FAILTEST_REALLOC)