Commit:     a5e58a61420e99dd08685f622d4dc666bf07e9a5
Parent:     c8ed39ebe0cf490abd7bf7c77b728dd6fefb2cf8
Author:     David Rientjes <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 31 00:37:32 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Jul 31 15:39:36 2007 -0700

    oom: print points as unsigned long
    In badness(), the automatic variable 'points' is unsigned long.  Print it
    as such.
    Signed-off-by: David Rientjes <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 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 1036765..f9b82ad 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -157,7 +157,7 @@ unsigned long badness(struct task_struct *p, unsigned long 
 #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);
        return points;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to