aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/syscall.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/syscall.go')
-rw-r--r--container/syscall.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/syscall.go b/container/syscall.go
index 4af60366..1b85b91a 100644
--- a/container/syscall.go
+++ b/container/syscall.go
@@ -64,7 +64,7 @@ const (
)
var _ encoding.TextMarshaler = _SCHED_LAST
-var _ encoding.TextUnmarshaler = new(SchedPolicy)
+var _ encoding.TextUnmarshaler = new(_SCHED_LAST)
// String returns a unique representation of policy, also used in encoding.
func (policy SchedPolicy) String() string {