summaryrefslogtreecommitdiff
path: root/src/stdio/ferror.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/ferror.c')
-rw-r--r--src/stdio/ferror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/ferror.c b/src/stdio/ferror.c
index 66299ab9..1d2fcc8d 100644
--- a/src/stdio/ferror.c
+++ b/src/stdio/ferror.c
@@ -6,7 +6,7 @@
int ferror(FILE *stream)
{
SIGNAL_SAFE(0);
- ASSERT_NONNULL(stream);
+ ASSERT_STREAM(stream, 0, 0);
/*
RETURN(0, the error indicator is not set);
RETURN(NONZERO, the error indicator is set);