diff options
author | David Rientjes <rientjes@google.com> | 2007-07-31 09:37:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-01 00:39:36 +0200 |
commit | a5e58a61420e99dd08685f622d4dc666bf07e9a5 (patch) | |
tree | e9dfbeac7648a954c927d2461016e8d0d98cca74 /mm | |
parent | rtc-dev: Make RTC driver return ENOTTY instead of ENOIOCTLCMD (diff) | |
download | linux-a5e58a61420e99dd08685f622d4dc666bf07e9a5.tar.xz linux-a5e58a61420e99dd08685f622d4dc666bf07e9a5.zip |
oom: print points as unsigned long
In badness(), the automatic variable 'points' is unsigned long. Print it
as such.
Signed-off-by: David Rientjes <rientjes@google.com>
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 10367654ae77..f9b82ad5047f 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -157,7 +157,7 @@ unsigned long badness(struct task_struct *p, unsigned long uptime) } #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); #endif return points; |