From 23b70c1ae21553acc791d61475afa4708977ad9c Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Tue, 4 Jan 2011 10:59:38 +0000 Subject: Finish r210923, 210926. Mark some devices as eternal. MFC after: 2 weeks --- sys/kern/tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/tty.c') diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 05eb27d4b624..8aa3af2e89ec 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -1946,8 +1946,8 @@ static void ttyconsdev_init(void *unused) { - dev_console = make_dev(&ttyconsdev_cdevsw, 0, UID_ROOT, GID_WHEEL, - 0600, "console"); + dev_console = make_dev_credf(MAKEDEV_ETERNAL, &ttyconsdev_cdevsw, 0, + NULL, UID_ROOT, GID_WHEEL, 0600, "console"); } SYSINIT(tty, SI_SUB_DRIVERS, SI_ORDER_FIRST, ttyconsdev_init, NULL); -- cgit v1.2.3