summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorgpalmer <gpalmer@FreeBSD.org>1996-04-02 22:06:23 +0000
committergpalmer <gpalmer@FreeBSD.org>1996-04-02 22:06:23 +0000
commit65f1d7ec03931a3ce1c3148dbea97b0e082d9c7b (patch)
treeed20b4b177a2728a05941551b197f7feac94b71f /sys/gnu
parentb6f39e71afb5ae826f9aa1bf7203b0c323f0c880 (diff)
downloadFreeBSD-src-65f1d7ec03931a3ce1c3148dbea97b0e082d9c7b.zip
FreeBSD-src-65f1d7ec03931a3ce1c3148dbea97b0e082d9c7b.tar.gz
Correct a bug which wrote the result of devfs_add_devswf() for two
separate devices to the same place Reviewed by: Julian Elischer <julian>, Marc G. Fournier <scrappy>
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/isdn/iitty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/gnu/isdn/iitty.c b/sys/gnu/isdn/iitty.c
index 491b022..2aa552d 100644
--- a/sys/gnu/isdn/iitty.c
+++ b/sys/gnu/isdn/iitty.c
@@ -1,6 +1,6 @@
-static char _ittyid[] = "@(#)$Id: iitty.c,v 1.19 1995/12/17 21:17:47 phk Exp $";
+static char _ittyid[] = "@(#)$Id: iitty.c,v 1.20 1996/03/28 14:27:52 scrappy Exp $";
/*******************************************************************************
- * II - Version 0.1 $Revision: 1.19 $ $State: Exp $
+ * II - Version 0.1 $Revision: 1.20 $ $State: Exp $
*
* Copyright 1994 Dietmar Friede
*******************************************************************************
@@ -74,7 +74,7 @@ ityattach(int ap)
devfs_token[next_if] =
devfs_add_devswf(&ity_cdevsw, next_if, DV_CHR, 0, 0,
0600, "isdn/ity%d", next_if);
- devfs_token[next_if] =
+ devfs_token_out[next_if] =
devfs_add_devswf(&ity_cdevsw,(next_if | 0x80), DV_CHR, 0, 0,
0600, "isdn/Oity%d", next_if);
#endif
OpenPOWER on IntegriCloud