RE: kernel support for non-English user messages

Chuck Ebbert (76306.1226@compuserve.com)
Sat, 12 Apr 2003 12:47:30 -0400


> You are right about needing to log parameters, but given a log line
> of the form
>
> %s: went up in flames\n\0eth0\0\0
>
> that can be handled by the log viewer

How about this scheme instead?

printk("%s: went up in flames\n", "eth0");

would become

\0eth0\0: went up in flames\n\0\0

i.e. the zeros would mark a transition between text that came from
parameters and what was from the format string. This would be a
lot easier to write to the console.

--
 "Let's fight till six, and then have dinner," said Tweedledum.
  --Lewis Carroll, _Through the Looking Glass_
-
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/