diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 1999-12-17 00:57:54 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 1999-12-17 00:57:54 +0000 |
| commit | fc8f3f5bfe691a89cc23a521c08e0128fbf8c2ae (patch) | |
| tree | be12fd0c2d0356386c97f73c045f078ca33fdef7 /lib/libpthread/thread/thr_write.c | |
| parent | 3dc268f4e7934a791049d0a2467e3d6d3ed190cd (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_write.c')
| -rw-r--r-- | lib/libpthread/thread/thr_write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_write.c b/lib/libpthread/thread/thr_write.c index 09b09cdcfdcf..40c4cc574241 100644 --- a/lib/libpthread/thread/thr_write.c +++ b/lib/libpthread/thread/thr_write.c @@ -67,8 +67,8 @@ write(int fd, const void *buf, size_t nbytes) /* File is not open for write: */ errno = EBADF; _FD_UNLOCK(fd, FD_WRITE); - _thread_leave_cancellation_point(); - return (-1); + _thread_leave_cancellation_point(); + return (-1); } /* Check if file operations are to block */ |
