summaryrefslogtreecommitdiff
path: root/sys/miscfs/portal/portal_vnops.c
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/portal/portal_vnops.c
parentfdbbe9d996f09ecbd4f5c6cdafd452dcf2a32cfd (diff)
Fix to use enoioctl
Diffstat (limited to 'sys/miscfs/portal/portal_vnops.c')
-rw-r--r--sys/miscfs/portal/portal_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/portal/portal_vnops.c b/sys/miscfs/portal/portal_vnops.c
index d9bb2855517..9dbce2338ff 100644
--- a/sys/miscfs/portal/portal_vnops.c
+++ b/sys/miscfs/portal/portal_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: portal_vnops.c,v 1.7 1998/08/06 19:34:44 csapuntz Exp $ */
+/* $OpenBSD: portal_vnops.c,v 1.8 1999/11/10 23:17:39 csapuntz Exp $ */
/* $NetBSD: portal_vnops.c,v 1.17 1996/02/13 13:12:57 mycroft Exp $ */
/*
@@ -83,7 +83,7 @@ int portal_getattr __P((void *));
int portal_setattr __P((void *));
#define portal_read eopnotsupp
#define portal_write eopnotsupp
-#define portal_ioctl eopnotsupp
+#define portal_ioctl (int (*) __P((void *)))enoioctl
#define portal_select eopnotsupp
#define portal_mmap eopnotsupp
#define portal_fsync nullop