summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-05 20:33:57 +0000
committerbde <bde@FreeBSD.org>1995-12-05 20:33:57 +0000
commitfdd78202729b5216afb24c0e852c188bf311b98b (patch)
tree55293662adddc7c24c0b5711a88584b9cebdc2fa /sys/gnu
parent2effbe76269b2df25bc7a343aed61f33af3713a3 (diff)
downloadFreeBSD-src-fdd78202729b5216afb24c0e852c188bf311b98b.zip
FreeBSD-src-fdd78202729b5216afb24c0e852c188bf311b98b.tar.gz
Fixed ity's d_stop entry. itystop() wasn't used. itystop() is inadequate
but probably harmless. It's hard to tell because apparently no one runs ity. Fixed ity's d_reset entry. `nx' entries should never be used for existing devices. conf.c: Moved a prototype to a better place. Removed a stale #define.
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/isdn/iitty.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/gnu/isdn/iitty.c b/sys/gnu/isdn/iitty.c
index 573920d..140cc91 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.13 1995/11/29 10:47:09 julian Exp $";
+static char _ittyid[] = "@(#)$Id: iitty.c,v 1.14 1995/11/29 14:39:12 julian Exp $";
/*******************************************************************************
- * II - Version 0.1 $Revision: 1.13 $ $State: Exp $
+ * II - Version 0.1 $Revision: 1.14 $ $State: Exp $
*
* Copyright 1994 Dietmar Friede
*******************************************************************************
@@ -10,6 +10,10 @@ static char _ittyid[] = "@(#)$Id: iitty.c,v 1.13 1995/11/29 10:47:09 julian
*
*******************************************************************************
* $Log: iitty.c,v $
+ * Revision 1.14 1995/11/29 14:39:12 julian
+ * If you're going to mechanically replicate something in 50 files
+ * it's best to not have a (compiles cleanly) typo in it! (sigh)
+ *
* Revision 1.13 1995/11/29 10:47:09 julian
* OK, that's it..
* That's EVERY SINGLE driver that has an entry in conf.c..
@@ -467,7 +471,7 @@ itydevtotty(dev_t dev)
#ifdef JREMOD
struct cdevsw ity_cdevsw =
{ ityopen, ityclose, ityread, itywrite, /*56*/
- ityioctl, nostop, nxreset, itydevtotty,/* ity */
+ ityioctl, itystop, noreset, itydevtotty,/* ity */
ttselect, nommap, NULL };
static ity_devsw_installed = 0;
OpenPOWER on IntegriCloud