projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove another invalid skip of locking in ungetwc
[oweals/musl.git]
/
src
/
unistd
/
nice.c
diff --git
a/src/unistd/nice.c
b/src/unistd/nice.c
index f38db678d892c7c570e2f4226090922bda1d55c5..da56996776e26aedd31b4c5495d24797cfbce070 100644
(file)
--- a/
src/unistd/nice.c
+++ b/
src/unistd/nice.c
@@
-4,8
+4,8
@@
int nice(int inc)
{
-#ifdef
__NR
_nice
- return syscall
1(__NR
_nice, inc);
+#ifdef
SYS
_nice
+ return syscall
(SYS
_nice, inc);
#else
return setpriority(PRIO_PROCESS, 0, getpriority(PRIO_PROCESS, 0)+inc);
#endif