summaryrefslogtreecommitdiff
path: root/sys/kern/spec_vnops.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1996-11-23 21:47:14 +0000
committerkstailey <kstailey@cvs.openbsd.org>1996-11-23 21:47:14 +0000
commit728527f840ec82a566f72f3cec384e341ac59a4c (patch)
treef9b921355a0db868e86c0df2976673aee9af1339 /sys/kern/spec_vnops.c
parent306adfe37a19b924bfe990750192540a4af86079 (diff)
added const to second parameter of cfprint_t routines
Diffstat (limited to 'sys/kern/spec_vnops.c')
-rw-r--r--sys/kern/spec_vnops.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/spec_vnops.c b/sys/kern/spec_vnops.c
index 7e6d70b0cbd..d68f6ab39f9 100644
--- a/sys/kern/spec_vnops.c
+++ b/sys/kern/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
}
/*