diff options
author | Christopher Faylor <me@cgf.cx> | 2013-09-25 14:44:45 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2013-09-25 14:44:45 +0000 |
commit | 1dc2c177f40875f9095dc3a10a5c93ad6eb45934 (patch) | |
tree | 313867e2adc19f38c56a166e81d2c214c63f52a0 /winsup/cygwin/pthread.cc | |
parent | 31fb5c643306b16496e97e075495de5b0335f11a (diff) | |
download | cygnal-1dc2c177f40875f9095dc3a10a5c93ad6eb45934.tar.gz cygnal-1dc2c177f40875f9095dc3a10a5c93ad6eb45934.tar.bz2 cygnal-1dc2c177f40875f9095dc3a10a5c93ad6eb45934.zip |
* thread.cc (semaphore::_getvalue): Set *sval as appropriate. Set errno and
return -1 on error.
Diffstat (limited to 'winsup/cygwin/pthread.cc')
-rw-r--r-- | winsup/cygwin/pthread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pthread.cc b/winsup/cygwin/pthread.cc index c63c1b8ac..7f12686e7 100644 --- a/winsup/cygwin/pthread.cc +++ b/winsup/cygwin/pthread.cc @@ -185,7 +185,7 @@ sem_timedwait (sem_t * sem, const struct timespec *abstime) } int -sem_post (sem_t * sem) +sem_post (sem_t *sem) { return semaphore::post (sem); } |