From 1f66e314233dff115e98658ceffe1efacf2490a0 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Tue, 22 Nov 2005 21:57:59 +0000 Subject: [PATCH] undo unwanted change for now (double check this one later) --- BasiliskII/src/Unix/posix_sem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BasiliskII/src/Unix/posix_sem.cpp b/BasiliskII/src/Unix/posix_sem.cpp index b0f3137c..3732d0e9 100644 --- a/BasiliskII/src/Unix/posix_sem.cpp +++ b/BasiliskII/src/Unix/posix_sem.cpp @@ -136,8 +136,8 @@ int sem_post(sem_t* sem) int sem_getvalue(sem_t* sem, int* sval) { - *sval = sem->sem_value; - return 0; + errno = ENOSYS; + return -1; } }