diff --git a/kernel/cgroup_pids.c b/kernel/cgroup_pids.c index 9740ea6762dec73590c84f7fa310c9026740a7ab..2bd673783f1a9520bddd689da959217d77797ce4 100644 --- a/kernel/cgroup_pids.c +++ b/kernel/cgroup_pids.c @@ -310,7 +310,7 @@ static int pids_events_show(struct seq_file *sf, void *v) { struct pids_cgroup *pids = css_pids(seq_css(sf)); - seq_printf(sf, "max %ld\n", atomic64_read(&pids->events_limit)); + seq_printf(sf, "max %lld\n", (s64)atomic64_read(&pids->events_limit)); return 0; }