Fix a bug in the device intercept code used by /dev/console. The
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 26 Sep 2006 18:15:28 +0000 (18:15 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 26 Sep 2006 18:15:28 +0000 (18:15 +0000)
commitd4569e90039b276b43f1022c9bd2027891bd1624
tree2f1e0813e1ae9dd0c6a1343c285297837dba6e28
parent993c042cf9afd8cd3439779af6a44161be5a828b
Fix a bug in the device intercept code used by /dev/console.  The
bug caused device opens on the underlying device to create a new
device instead of using the console intercept, causing make_dev
warnings and preventing getty from operating properly on the console.

Reported-by: "Frank W. Josellis" <frank@dynamical-systems.org>
sys/kern/kern_conf.c