Loading...
stdio/FreeBSD/refill.c Libc-1725.40.4 Libc-825.26
--- Libc/Libc-1725.40.4/stdio/FreeBSD/refill.c
+++ Libc/Libc-825.26/stdio/FreeBSD/refill.c
@@ -69,7 +69,8 @@
 {
 
 	/* make sure stdio is set up */
-	pthread_once(&__sdidinit, __sinit);
+	if (!__sdidinit)
+		__sinit();
 
 	ORIENT(fp, -1);