From: Wang Long Date: Wed, 24 Jun 2015 23:58:01 +0000 (-0700) Subject: mm/oom_kill.c: print points as unsigned int X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f0d6647e85050c6ca70d69a647e3c653dd9b349a;p=openwrt%2Fstaging%2Fblogic.git mm/oom_kill.c: print points as unsigned int In oom_kill_process(), the variable 'points' is unsigned int. Print it as such. Signed-off-by: Wang Long Acked-by: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 5cfda39b3268..dff991e0681e 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -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);