- * if (hist[num-1].type == FAILTEST_MALLOC
- * || hist[num-1].type == FAILTEST_CALLOC
- * || hist[num-1].type == FAILTEST_REALLOC)
+ * struct failtest_call *call;
+ * call = tlist_tail(history, list);
+ * if (call->type == FAILTEST_MALLOC
+ * || call->type == FAILTEST_CALLOC
+ * || call->type == FAILTEST_REALLOC)