Re: about syslogd and printk()

Myrdraal (myrdraal@jackalz.dyn.ml.org)
Sun, 19 Jul 1998 00:19:02 -0400


On Sat, Jul 18, 1998 at 11:55:53PM -0400, Jon Lewis wrote:
Hi,
> On Sat, 18 Jul 1998, Myrdraal wrote:
> > > On Sun, 19 Jul 1998, CHANG Lei wrote:
> > > > printk("%02x:",*temp);
> > > > printk("\n");
> > > Last time I looked, printk without a newline really confused klogd. Try
> > > changing that to printk("%02x:\n",*temp);
> > He prints a '\n' right afterwards. That should be fine.
> It wasn't for me. I think printk's need to be \n terminated.
Look at drivers/char/sysrq.c. It does this with no ill effects.
-Myrdraal
-- 
Linux jackalz 2.1.109 #107 Thu Jul 16 23:22:31 EDT 1998 i486
6:41pm  up 18:38, 17 users,  load average: 0.62, 0.77, 0.78

- 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.altern.org/andrebalsa/doc/lkml-faq.html