Commit a5e58a61 authored by David Rientjes's avatar David Rientjes Committed by Linus Torvalds

oom: print points as unsigned long

In badness(), the automatic variable 'points' is unsigned long.  Print it
as such.
Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c8ed39eb
...@@ -157,7 +157,7 @@ unsigned long badness(struct task_struct *p, unsigned long uptime) ...@@ -157,7 +157,7 @@ unsigned long badness(struct task_struct *p, unsigned long uptime)
} }
#ifdef DEBUG #ifdef DEBUG
printk(KERN_DEBUG "OOMkill: task %d (%s) got %d points\n", printk(KERN_DEBUG "OOMkill: task %d (%s) got %lu points\n",
p->pid, p->comm, points); p->pid, p->comm, points);
#endif #endif
return points; return points;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment