diff options
Diffstat (limited to 'sys/kern/tty_cons.c')
-rw-r--r-- | sys/kern/tty_cons.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c index bcd3389..361a5dd 100644 --- a/sys/kern/tty_cons.c +++ b/sys/kern/tty_cons.c @@ -115,7 +115,6 @@ int cons_unavail = 0; /* XXX: static int cn_mute; static int openflag; /* how /dev/console was opened */ static int cn_is_open; -static dev_t cn_devfsdev; /* represents the device private info */ static u_char console_pausing; /* pause after each line during probe */ static char *console_pausestr= "<pause; press any key to proceed to next line or '.' to end pause mode>"; @@ -592,7 +591,7 @@ static void cn_drvinit(void *unused) { - cn_devfsdev = make_dev(&cn_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, + make_dev(&cn_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, "console"); } |