From 24f39222098253da4ad1a9cd8ddef5b9b0152ba1 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 2 Feb 2024 13:25:45 -0500 Subject: use UNDEFINED() instead of directly calling __undefined() --- src/stdio/ferror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stdio/ferror.c') 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); -- cgit v1.2.1