diff --git a/test/funopen.c b/test/funopen.c index 2b34f7e..65c493e 100644 --- a/test/funopen.c +++ b/test/funopen.c @@ -114,7 +114,7 @@ main(int argc, char **argv) size_t i; /* Test invalid hooks. */ - fp = funopen(&tc, NULL, NULL, NULL, NULL); + fp = funopen(NULL, NULL, NULL, NULL, NULL); assert(fp == NULL); assert(errno == EINVAL);