Skip to content

Commit

Permalink
mm/oom_kill.c: print points as unsigned int
Browse files Browse the repository at this point in the history
In oom_kill_process(), the variable 'points' is unsigned int.  Print it as
such.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Wang Long authored and Linus Torvalds committed Jun 25, 2015
1 parent 3303967 commit f0d6647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/oom_kill.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ void oom_kill_process(struct task_struct *p, gfp_t gfp_mask, int order,
dump_header(p, gfp_mask, order, memcg, nodemask);

task_lock(p);
pr_err("%s: Kill process %d (%s) score %d or sacrifice child\n",
pr_err("%s: Kill process %d (%s) score %u or sacrifice child\n",
message, task_pid_nr(p), p->comm, points);
task_unlock(p);

Expand Down

0 comments on commit f0d6647

Please sign in to comment.