aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorWang Long <long.wanglong@huawei.com>2015-06-24 16:58:01 -0700
committerMoyster <oysterized@gmail.com>2019-07-08 13:36:44 +0200
commit50b9b5a38a78f88cf86f066fbe0bacbcb1d4682a (patch)
tree5051677210f2c0f66fb1727604b2c4ccbb5e7041 /mm
parent7951a52ed35d162063fa08b27894e302fd716ccd (diff)
mm/oom_kill.c: print points as unsigned int
In oom_kill_process(), the variable 'points' is unsigned int. Print it as such. Change-Id: Idfd50d95fe49d51d08005c1dfc249c9801c05a45 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>
Diffstat (limited to 'mm')
-rw-r--r--mm/oom_kill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/oom_kill.c b/mm/oom_kill.c
index f37c98eef..4f0698b23 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -534,7 +534,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);