diff options
author | julian <julian@FreeBSD.org> | 1995-11-29 14:41:20 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1995-11-29 14:41:20 +0000 |
commit | 198d88e0ae0e12a2ddafb80a60372116b0b1c0c6 (patch) | |
tree | 82e0b24f955f894892cc1c396f300233c0d0607a /sys/kern/tty_cons.c | |
parent | 1758bf79ff52b23e5828e97e6ed62be161d761bf (diff) | |
download | FreeBSD-src-198d88e0ae0e12a2ddafb80a60372116b0b1c0c6.zip FreeBSD-src-198d88e0ae0e12a2ddafb80a60372116b0b1c0c6.tar.gz |
If you're going to mechanically replicate something in 50 files
it's best to not have a (compiles cleanly) typo in it! (sigh)
Diffstat (limited to 'sys/kern/tty_cons.c')
-rw-r--r-- | sys/kern/tty_cons.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c index 9b8735d..7f2e4d7 100644 --- a/sys/kern/tty_cons.c +++ b/sys/kern/tty_cons.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 - * $Id: cons.c,v 1.34 1995/09/10 21:34:49 bde Exp $ + * $Id: cons.c,v 1.35 1995/11/29 10:47:17 julian Exp $ */ #include <sys/param.h> @@ -332,8 +332,9 @@ static void cn_drvinit(void *unused) cn_devsw_installed = 1; #ifdef DEVFS /* path,name,major,minor,type,uid,gid,perm */ - x=devfs_add_devsw("/","console",major(dev),0,DV_CHR,0,0,0640); + x=devfs_add_devsw("/","console",major(dev),0,DV_CHR,0,0,0640); #endif + } } SYSINIT(cndev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,cn_drvinit,NULL) |