summaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/specfs/spec_vnops.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c
index 7e6d70b0cbd..d68f6ab39f9 100644
--- a/sys/miscfs/specfs/spec_vnops.c
+++ b/sys/miscfs/specfs/spec_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spec_vnops.c,v 1.4 1996/11/04 03:31:15 deraadt Exp $ */
+/* $OpenBSD: spec_vnops.c,v 1.5 1996/11/23 21:47:11 kstailey Exp $ */
/* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */
/*
@@ -707,9 +707,13 @@ int
spec_advlock(v)
void *v;
{
+#ifdef NFSSERVER
extern int ufs_advlock __P((void *v));
return (ufs_advlock(v));
+#else
+ return (EOPNOTSUPP);
+#endif
}
/*