summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7c20a11)
the address of the pointer to the sched param, rather than the
pointer, was being passed to the kernel.
if (t->dead) {
r = ESRCH;
} else {
if (t->dead) {
r = ESRCH;
} else {
- r = -__syscall(SYS_sched_getparam, t->tid, ¶m);
+ r = -__syscall(SYS_sched_getparam, t->tid, param);
if (!r) {
*policy = __syscall(SYS_sched_getscheduler, t->tid);
}
if (!r) {
*policy = __syscall(SYS_sched_getscheduler, t->tid);
}