tdb2: copy tdb1's changed expansion logic.
[ccan] / ccan / failtest / failtest.h
index 5c80bfeea82cf74302517c0569d146561a139c68..9af5669678f2295edccb5cbea4cb777016f40b8f 100644 (file)
@@ -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)