summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorugen <ugen@FreeBSD.org>1995-02-27 19:46:27 +0000
committerugen <ugen@FreeBSD.org>1995-02-27 19:46:27 +0000
commit0f4e4b816c286361ef5541bb3f0682690bbabe8f (patch)
treeb2453ec1b18c0018d78cb8cf3acaacc5845ca857
parent423bccf9ae95f290a6f398fc094fa3dc357fe4fb (diff)
downloadFreeBSD-src-0f4e4b816c286361ef5541bb3f0682690bbabe8f.zip
FreeBSD-src-0f4e4b816c286361ef5541bb3f0682690bbabe8f.tar.gz
same..
-rw-r--r--sys/i386/i386/conf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/i386/conf.c b/sys/i386/i386/conf.c
index e15e85a..35f03b0 100644
--- a/sys/i386/i386/conf.c
+++ b/sys/i386/i386/conf.c
@@ -42,7 +42,7 @@
* SUCH DAMAGE.
*
* from: @(#)conf.c 5.8 (Berkeley) 5/12/91
- * $Id: conf.c,v 1.67 1995/02/21 04:26:35 jkh Exp $
+ * $Id: conf.c,v 1.68 1995/02/25 20:09:03 pst Exp $
*/
#include <sys/param.h>
@@ -421,12 +421,14 @@ d_ioctl_t ptyioctl;
d_open_t snpopen;
d_close_t snpclose;
d_rdwr_t snpread;
+d_rdwr_t snpwrite;
d_select_t snpselect;
d_ioctl_t snpioctl;
#else
#define snpopen nxopen
#define snpclose nxclose
#define snpread nxread
+#define snpwrite nxwrite
#define snpioctl nxioctl
#define snpselect nxselect
#endif
@@ -1081,7 +1083,7 @@ struct cdevsw cdevsw[] =
{ tunopen, tunclose, tunread, tunwrite, /*52*/
tunioctl, nostop, nullreset, nodevtotty,/* tunnel */
tunselect, nommap, NULL },
- { snpopen, snpclose, snpread, nowrite, /*53*/
+ { snpopen, snpclose, snpread, snpwrite, /*53*/
snpioctl, nostop, nullreset, nodevtotty,/* snoop */
snpselect, nommap, NULL },
{ nicopen, nicclose, noread, nowrite, /*54*/
OpenPOWER on IntegriCloud