Loading...
stdio/FreeBSD/funopen.c Libc-1725.40.4 Libc-763.11
--- Libc/Libc-1725.40.4/stdio/FreeBSD/funopen.c
+++ Libc/Libc-763.11/stdio/FreeBSD/funopen.c
@@ -63,8 +63,7 @@
 		else
 			flags = __SRW;		/* read-write */
 	}
-	/* funopen in not covered in SUSv3, so never count the streams */
-	if ((fp = __sfp(0)) == NULL)
+	if ((fp = __sfp()) == NULL)
 		return (NULL);
 	fp->_flags = flags;
 	fp->_file = -1;