diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2017-07-17 14:09:34 +0000 | 
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2017-07-17 14:09:34 +0000 | 
| commit | 1aad44dbd7ec77df8137d3e510d0a200256a02d3 (patch) | |
| tree | c44ef6d528ce250c6d8c2c124a1d91a8523a54a1 /lib/libc/stdio/perror.c | |
| parent | 5d49799eb6c6c0710b12180fb899fd0ea8f69639 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/perror.c')
| -rw-r--r-- | lib/libc/stdio/perror.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/libc/stdio/perror.c b/lib/libc/stdio/perror.c index 89c079818fb7..15007882b79e 100644 --- a/lib/libc/stdio/perror.c +++ b/lib/libc/stdio/perror.c @@ -67,9 +67,9 @@ perror(const char *s)  	v++;  	v->iov_base = "\n";  	v->iov_len = 1; -	FLOCKFILE(stderr); +	FLOCKFILE_CANCELSAFE(stderr);  	__sflush(stderr);  	(void)_writev(stderr->_file, iov, (v - iov) + 1);  	stderr->_flags &= ~__SOFF; -	FUNLOCKFILE(stderr); +	FUNLOCKFILE_CANCELSAFE();  } | 
