projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
61be1cf
)
avoid setting nondefault scheduler too
author
Rich Felker
<dalias@aerifal.cx>
Fri, 4 May 2012 03:19:29 +0000
(23:19 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 4 May 2012 03:19:29 +0000
(23:19 -0400)
src/sched/sched_setscheduler.c
patch
|
blob
|
history
diff --git
a/src/sched/sched_setscheduler.c
b/src/sched/sched_setscheduler.c
index
acf5dc2
..
1958066
100644
(file)
--- a/
src/sched/sched_setscheduler.c
+++ b/
src/sched/sched_setscheduler.c
@@
-4,5
+4,5
@@
int sched_setscheduler(pid_t pid, int sched, const struct sched_param *param)
{
static const struct sched_param def;
- return syscall(SYS_sched_setscheduler, pid,
sched
, &def);
+ return syscall(SYS_sched_setscheduler, pid,
0
, &def);
}