diff options
author | phk <phk@FreeBSD.org> | 2000-12-20 21:50:37 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-12-20 21:50:37 +0000 |
commit | 04b71d6b6d5b879ea0b817c773f4ce96507247f6 (patch) | |
tree | 18b700d20c419e56eb1134864e3113062e525f28 /sys/kern/tty_cons.c | |
parent | 05d0cf88f1bd8f0d0cc7cb861444fa750759e7ba (diff) | |
download | FreeBSD-src-04b71d6b6d5b879ea0b817c773f4ce96507247f6.zip FreeBSD-src-04b71d6b6d5b879ea0b817c773f4ce96507247f6.tar.gz |
Replace logwakeup() with "int msgbuftrigger". There is little
point in calling a function just to set a flag.
Keep better track of the syslog FAC/PRI code and try to DTRT if
they mingle.
Log all writes to /dev/console to syslog with <console.info>
priority. The formatting is not preserved, there is no robust,
way of doing it. (Ideas with patches welcome).
Diffstat (limited to 'sys/kern/tty_cons.c')
-rw-r--r-- | sys/kern/tty_cons.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c index d66a75f..784feca 100644 --- a/sys/kern/tty_cons.c +++ b/sys/kern/tty_cons.c @@ -353,6 +353,7 @@ cnwrite(dev, uio, flag) dev = constty->t_dev; else dev = cn_tab->cn_dev; + log_console(uio); return ((*devsw(dev)->d_write)(dev, uio, flag)); } |