projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add acct syscall source file, omitted in last syscalls commit
[oweals/musl.git]
/
src
/
unistd
/
nice.c
diff --git
a/src/unistd/nice.c
b/src/unistd/nice.c
index 34f7c7f9c8f3e5af47f5281aa2a088efd2d6394f..da56996776e26aedd31b4c5495d24797cfbce070 100644
(file)
--- a/
src/unistd/nice.c
+++ b/
src/unistd/nice.c
@@
-4,7
+4,7
@@
int nice(int inc)
{
-#ifdef
__NR
_nice
+#ifdef
SYS
_nice
return syscall(SYS_nice, inc);
#else
return setpriority(PRIO_PROCESS, 0, getpriority(PRIO_PROCESS, 0)+inc);