mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-07 17:52:34 +01:00
test: Do not pass NULL as the first funopen() argument
Warned-by: gcc -W
This commit is contained in:
parent
731b0a7739
commit
6145b56178
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user