summaryrefslogtreecommitdiff
path: root/sys/miscfs/kernfs
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1999-11-10 23:17:40 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1999-11-10 23:17:40 +0000
commit868a5e6c52f689aedf8507fad39c4897127f0505 (patch)
treeb278d807822b24a24bd854ceb083b2f04dc6cf6f /sys/miscfs/kernfs
parentfdbbe9d996f09ecbd4f5c6cdafd452dcf2a32cfd (diff)
Fix to use enoioctl
Diffstat (limited to 'sys/miscfs/kernfs')
-rw-r--r--sys/miscfs/kernfs/kernfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/kernfs/kernfs_vnops.c b/sys/miscfs/kernfs/kernfs_vnops.c
index ecddfa4871e..7af09c11138 100644
--- a/sys/miscfs/kernfs/kernfs_vnops.c
+++ b/sys/miscfs/kernfs/kernfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kernfs_vnops.c,v 1.16 1999/02/26 03:44:16 art Exp $ */
+/* $OpenBSD: kernfs_vnops.c,v 1.17 1999/11/10 23:17:39 csapuntz Exp $ */
/* $NetBSD: kernfs_vnops.c,v 1.43 1996/03/16 23:52:47 christos Exp $ */
/*
@@ -139,7 +139,7 @@ int kernfs_getattr __P((void *));
int kernfs_setattr __P((void *));
int kernfs_read __P((void *));
int kernfs_write __P((void *));
-#define kernfs_ioctl eopnotsupp
+#define kernfs_ioctl (int (*) __P((void *)))enoioctl
#define kernfs_select eopnotsupp
#define kernfs_mmap eopnotsupp
#define kernfs_fsync nullop