[BusyBox] init syslog messages have ^M
Paul Fox
pgf at brightstareng.com
Tue Nov 30 15:52:25 UTC 2004
>
> No. The message() function used for
> 1) start messages
> 2) fatal problems
> 3) shutdown messages
> its points can show to console.
> 3 point usually used with "\r" to console.
> I think, the patch
> - syslog(LOG_INFO, "%s", msg);
> + syslog(LOG_INFO, "%s", msg + 1);
> is more correct.
this fixes the syslog issue, but a better fix is to never
generate the extra '\r' at all.
why is it ever correct for init to possibly overwrite information
which is already on the user's console?
paul
=---------------------
paul fox, pgf at brightstareng.com
More information about the busybox
mailing list