lkml.org 
[lkml]   [1999]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectprintk("\nOut of memory for %s.\n")
It's a minor niggle, but there doesn't seem to be any reason for the
leading newline here. It makes for odd-looking log files.

Tim.
*/

--- linux/mm/memory.c~ Tue Jan 19 01:33:10 1999
+++ linux/mm/memory.c Sat Mar 6 20:55:28 1999
@@ -67,7 +67,7 @@
*/
void oom(struct task_struct * task)
{
- printk("\nOut of memory for %s.\n", task->comm);
+ printk(KERN_ERR "Out of memory for %s.\n", task->comm);
force_sig(SIGKILL, task);
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.055 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site