test: Do not pass NULL as the first funopen() argument

Warned-by: gcc -W
This commit is contained in:
Guillem Jover 2021-08-17 03:14:57 +02:00
parent 731b0a7739
commit 6145b56178

View File

@ -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);