projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
prevent shmget from allocating objects that overflow ptrdiff_t
[musl]
/
src
/
misc
/
getpriority.c
diff --git
a/src/misc/getpriority.c
b/src/misc/getpriority.c
index
2fb26b2
..
5c0b168
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;
}