lkml.org 
[lkml]   [2007]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -mm] printk trivial optimizations fix
mm's printk has been showing "%p" in abominable upper case recently:
its trivial optimizations have changed the default from lower to upper,
so the 'p' case needs to enforce lower explicitly.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
---

lib/vsprintf.c | 1 +
1 file changed, 1 insertion(+)

--- 2.6.24-rc3-mm2/lib/vsprintf.c 2007-11-28 12:42:26.000000000 +0000
+++ linux/lib/vsprintf.c 2007-11-28 17:01:20.000000000 +0000
@@ -525,6 +525,7 @@ int vsnprintf(char *buf, size_t size, co
continue;

case 'p':
+ flags |= SMALL;
if (field_width == -1) {
field_width = 2*sizeof(void *);
flags |= ZEROPAD;
-
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: 2007-11-28 20:29    [W:0.991 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site