diff options
Diffstat (limited to 'stdio-common/iovfscanf.c')
-rw-r--r-- | stdio-common/iovfscanf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/iovfscanf.c b/stdio-common/iovfscanf.c index 43b5c70..c962f95 100644 --- a/stdio-common/iovfscanf.c +++ b/stdio-common/iovfscanf.c @@ -1,5 +1,5 @@ /* Implementation and symbols for _IO_vfscanf. - Copyright (C) 2018-2024 Free Software Foundation, Inc. + Copyright (C) 2018-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -29,7 +29,7 @@ attribute_compat_text_section __IO_vfscanf (FILE *fp, const char *format, va_list ap, int *errp) { int rv = __vfscanf_internal (fp, format, ap, 0); - if (__glibc_unlikely (errp != 0)) + if (__glibc_unlikely (errp != NULL)) *errp = (rv == -1); return rv; } |