lkml.org 
[lkml]   [2003]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] add prink KERN_* suffixes
From
Date
On Thu, 2003-03-13 at 11:41, Daniele Venzano wrote:
> /* Read in the station address. */
> for (i = 0; i < 6; i++)
> - printk(" %2.2x", dev->dev_addr[i]);
> - printk(", IRQ %d.\n", dev->irq);
> + printk(KERN_INFO " %2.2x", dev->dev_addr[i]);
> + printk(KERN_INFO ", IRQ %d.\n", dev->irq);


The loglevels only work after a newline.

What you can do is printk() the loglevel before the for loop. Or just
leave this one alone.

Robert Love

-
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:33    [W:0.111 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site