Subject: Re: struct msgbuf contents.
To: Simon Burge <>
From: Jason R Thorpe <>
List: tech-kern
Date: 06/12/2000 22:05:13
On Tue, Jun 13, 2000 at 01:19:33PM +1000, Simon Burge wrote:

 > Is there any other problems associated with the type change, and
 > due to the "funnies" above, would I be better off picking a new
 > MSG_MAGIC (the current one is 0x063061), and if so what should it be?

Hm, wonder who's birthday that is...

In any case, while you're at it, maybe make `panicstr' be not a pointer
to the printf format, but rather the index into the message buffer of
the string, and have a "panicstr_end" which is the ending index.  That
way, savecore(8) can get the expanded message, not:

panic: %s: %d out of range


The current "panicstr != NULL" can be replaced with
"panicstr != panicstr_end".

        -- Jason R. Thorpe <>