summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/s390/sem_post.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/s390/sem_post.c')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/s390/sem_post.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/s390/sem_post.c b/nptl/sysdeps/unix/sysv/linux/s390/sem_post.c
index b573532a32..6bf577bc5f 100644
--- a/nptl/sysdeps/unix/sysv/linux/s390/sem_post.c
+++ b/nptl/sysdeps/unix/sysv/linux/s390/sem_post.c
@@ -19,7 +19,7 @@
#include <errno.h>
#include <sysdep.h>
-#include <lowlevelsem.h>
+#include <lowlevellock.h>
#include <internaltypes.h>
#include <shlib-compat.h>
@@ -33,10 +33,10 @@ __new_sem_post (sem_t *sem)
int err;
lll_compare_and_swap ((int *) sem, oldval, newval, "lr %2,%1; ahi %2,1");
- err = lll_futex_wake(((int *) sem), newval);
+ err = lll_futex_wake ((int *) sem, newval);
if (err < 0)
{
- __set_errno(-err);
+ __set_errno (-err);
return -1;
}
return 0;