projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add fast path for normal mutexes back to pthread_mutex_lock
[oweals/musl.git]
/
src
/
misc
/
getpriority.c
diff --git
a/src/misc/getpriority.c
b/src/misc/getpriority.c
index 2fb26b2bc44be995b2558b6bdbf521cc4589b8bb..5c0b1682b69a66e52edd33e9761bf0d7f51c92de 100644
(file)
--- a/
src/misc/getpriority.c
+++ b/
src/misc/getpriority.c
@@
-3,7
+3,7
@@
int getpriority(int which, id_t who)
{
- int ret = syscall
2(__NR
_getpriority, which, who);
+ int ret = syscall
(SYS
_getpriority, which, who);
if (ret < 0) return ret;
return 20-ret;
}