summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_write.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2000-10-13 22:12:32 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2000-10-13 22:12:32 +0000
commitfbeb36e4bf72161883eda56a41578de1d8f2f885 (patch)
tree06c51ea3d094e4b4c0492667aa46cf83d9e938c6 /lib/libpthread/thread/thr_write.c
parenta95b77ec78e646b4b781d4b498bc3be7ddaee44c (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_write.c')
-rw-r--r--lib/libpthread/thread/thr_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_write.c b/lib/libpthread/thread/thr_write.c
index 6408a64830c2..5d9ef35f3fbc 100644
--- a/lib/libpthread/thread/thr_write.c
+++ b/lib/libpthread/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);
}