summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-11-22 23:54:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-11-22 23:54:56 +0000
commit03f050fc645f1963959fa0ffb161cea8a825e8ac (patch)
tree2c22b99597b21f2c8e0b20856c1417cf83ceb417 /sys
parent6c0bf3ddeeb3c8fea3bd75abc8e0a8e2446b3e36 (diff)
matthieu fixed it
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/conf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index f0755679021..3b6197d8ea2 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.33 1999/11/22 17:51:25 deraadt Exp $ */
+/* $OpenBSD: conf.h,v 1.34 1999/11/22 23:54:55 deraadt Exp $ */
/* $NetBSD: conf.h,v 1.33 1996/05/03 20:03:32 christos Exp $ */
/*-
@@ -239,10 +239,10 @@ extern struct cdevsw cdevsw[];
dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) nullop, \
0, dev_init(c,n,select), (dev_type_mmap((*))) enodev, D_TTY }
-/* open, close, read, write, mmap */
+/* open, close, read, write, ioctl, mmap */
#define cdev_mm_init(c,n) { \
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
- dev_init(c,n,write), (dev_type_ioctl((*))) enodev, \
+ dev_init(c,n,write), dev_init(c,n,ioctl), \
(dev_type_stop((*))) enodev, 0, seltrue, dev_init(c,n,mmap) }
/* read, write */