Fix definition of SchedParam.

Linux defines this struct as:

struct sched_param {
  int priority;
}

... in include/linux/sched.h.

PiperOrigin-RevId: 332473133
This commit is contained in:
Rahat Mahmood
2020-09-18 10:09:14 -07:00
committed by gVisor bot
parent 313e1988c4
commit ef7d9a6fcd
+1 -1
View File
@@ -30,7 +30,7 @@ const (
//
// +marshal
type SchedParam struct {
schedPriority int64
schedPriority int32
}
// SchedGetparam implements linux syscall sched_getparam(2).