[PATCH] missing \n in printk of oom_kill.c

From: Bernd Eckenfels (ecki@lina.inka.de)
Date: Sat Oct 14 2000 - 23:20:33 EST


the oom_kill will output a kernel message without missing \n:

--- mm/oom_kill.c.org Sun Oct 15 06:18:24 2000
+++ mm/oom_kill.c Sun Oct 15 06:18:45 2000
@@ -156,7 +156,7 @@
        if (p == NULL)
                panic("Out of memory and no killable processes...\n");

- printk(KERN_ERR "Out of Memory: Killed process %d (%s).", p->pid,
p->comm);
+ printk(KERN_ERR "Out of Memory: Killed process %d (%s).\n", p->pid,
p->comm);

        /*
         * We give our sacrificial lamb high priority and access to
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:28 EST