lkml.org 
[lkml]   [2002]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] epoll: don't printk pointer value
From
Date
On Wed, 2002-12-11 at 01:30, William Lee Irwin III wrote:

> You're still passing current as an argument to the printk.

Ah crap. That is what I get for not testing it... nothing is too
trivial, boys and girls.

Thanks, Bill.

Robert Love

fs/eventpoll.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -urN linux-2.5.51/fs/eventpoll.c linux/fs/eventpoll.c
--- linux-2.5.51/fs/eventpoll.c 2002-12-09 21:45:54.000000000 -0500
+++ linux/fs/eventpoll.c 2002-12-11 01:23:07.000000000 -0500
@@ -1573,7 +1573,7 @@
if (IS_ERR(eventpoll_mnt))
goto eexit_4;

- printk(KERN_INFO "[%p] eventpoll: successfully initialized.\n", current);
+ printk(KERN_INFO "eventpoll: successfully initialized.\n");

return 0;



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

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