summaryrefslogtreecommitdiffstats
path: root/mm/oom_kill.c
diff options
context:
space:
mode:
authorWang Long <long.wanglong@huawei.com>2015-06-25 01:58:01 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-25 02:49:44 +0200
commitf0d6647e85050c6ca70d69a647e3c653dd9b349a (patch)
treeb6f54f514069c36771121e7012dd4c177204e67c /mm/oom_kill.c
parentmm/hugetlb: handle races in alloc_huge_page and hugetlb_reserve_pages (diff)
downloadlinux-f0d6647e85050c6ca70d69a647e3c653dd9b349a.tar.xz
linux-f0d6647e85050c6ca70d69a647e3c653dd9b349a.zip
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 <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 '')
-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 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);