소스 검색

Yikes! This was doing another lock instead of unlocking the stream.

Manuel Novoa III 22 년 전
부모
커밋
61c396e2ef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      libc/stdio/old_vfprintf.c

+ 1 - 1
libc/stdio/old_vfprintf.c

@@ -490,7 +490,7 @@ int vfprintf(FILE * __restrict op, register const char * __restrict fmt,
 
 	i = (__FERROR(op)) ? -1 : cnt;
 
-	__STDIO_THREADLOCK(op);
+	__STDIO_THREADUNLOCK(op);
 
 	return i;
 }