about summary refs log tree commit diff
path: root/src/thread/pthread_setschedprio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_setschedprio.c')
-rw-r--r--src/thread/pthread_setschedprio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread/pthread_setschedprio.c b/src/thread/pthread_setschedprio.c
index e0bdc03b..dc745b42 100644
--- a/src/thread/pthread_setschedprio.c
+++ b/src/thread/pthread_setschedprio.c
@@ -3,8 +3,8 @@
 int pthread_setschedprio(pthread_t t, int prio)
 {
 	int r;
-	__lock(t->killlock);
+	LOCK(t->killlock);
 	r = t->dead ? ESRCH : -__syscall(SYS_sched_setparam, t->tid, &prio);
-	__unlock(t->killlock);
+	UNLOCK(t->killlock);
 	return r;
 }