diff options
author | dt <dt@FreeBSD.org> | 1999-06-01 20:26:04 +0000 |
---|---|---|
committer | dt <dt@FreeBSD.org> | 1999-06-01 20:26:04 +0000 |
commit | 0d7bec109d85a285a3c685f3a8d3616d9cd23f79 (patch) | |
tree | 66148eada0f6572cab043d8b6cf08df95a91c9b7 /sys | |
parent | 6b310603759d9155b21b3a271f35c849f6bebd0e (diff) | |
download | FreeBSD-src-0d7bec109d85a285a3c685f3a8d3616d9cd23f79.zip FreeBSD-src-0d7bec109d85a285a3c685f3a8d3616d9cd23f79.tar.gz |
cdevsw_add(&cn_devsw), not cdevsw_add(&dev).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/alpha/cons.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/alpha/alpha/cons.c b/sys/alpha/alpha/cons.c index 16f6933..161fecf 100644 --- a/sys/alpha/alpha/cons.c +++ b/sys/alpha/alpha/cons.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 - * $Id: cons.c,v 1.8 1999/05/30 16:50:40 phk Exp $ + * $Id: cons.c,v 1.9 1999/05/31 11:23:35 phk Exp $ */ #include "opt_devfs.h" @@ -447,9 +447,8 @@ cnputc(c) static void cn_drvinit(void *unused) { - dev_t dev; - cdevsw_add(&dev); + cdevsw_add(&cn_cdevsw); #ifdef DEVFS cn_devfs_token = devfs_add_devswf(&cn_cdevsw, 0, DV_CHR, UID_ROOT, GID_WHEEL, 0600, "console"); |