diff options
Diffstat (limited to 'lib/libkse/thread/thr_write.c')
-rw-r--r-- | lib/libkse/thread/thr_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkse/thread/thr_write.c b/lib/libkse/thread/thr_write.c index 6408a64..5d9ef35 100644 --- a/lib/libkse/thread/thr_write.c +++ b/lib/libkse/thread/thr_write.c @@ -127,7 +127,7 @@ _write(int fd, const void *buf, size_t nbytes) /* Return the number of bytes written: */ ret = num; } - _FD_UNLOCK(fd, FD_RDWR); + _FD_UNLOCK(fd, FD_WRITE); } return (ret); } |