summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-01 10:30:06 +0000
committerbde <bde@FreeBSD.org>1997-04-01 10:30:06 +0000
commited79da997e0677afb8e9fd59fc8600a2d696d558 (patch)
tree82e34e68a9c0d943ce5b7c18ddcf8f4e2fea90ea /sys
parentf9d9e3dc890c3424e6664725c6cfc481a1ed53fc (diff)
downloadFreeBSD-src-ed79da997e0677afb8e9fd59fc8600a2d696d558.zip
FreeBSD-src-ed79da997e0677afb8e9fd59fc8600a2d696d558.tar.gz
Use OID_AUTO instead of a magic number for Lite2 sysctl debug.lockf_debug.
Removed unused #includes.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_lockf.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/kern/kern_lockf.c b/sys/kern/kern_lockf.c
index fb1a8a0..000e645 100644
--- a/sys/kern/kern_lockf.c
+++ b/sys/kern/kern_lockf.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_lockf.c 8.3 (Berkeley) 1/6/94
- * $Id$
+ * $Id: kern_lockf.c,v 1.13 1997/02/22 09:39:06 peter Exp $
*/
#include <sys/param.h>
@@ -57,13 +57,11 @@ static int maxlockdepth = MAXDEPTH;
#include <sys/kernel.h>
#include <sys/sysctl.h>
-#include <vm/vm.h>
-
#include <ufs/ufs/quota.h>
#include <ufs/ufs/inode.h>
-int lockf_debug = 0;
-SYSCTL_INT(_debug, 4, lockf_debug, CTLFLAG_RW, &lockf_debug, 0, "");
+static int lockf_debug = 0;
+SYSCTL_INT(_debug, OID_AUTO, lockf_debug, CTLFLAG_RW, &lockf_debug, 0, "");
#endif
#define NOLOCKF (struct lockf *)0
OpenPOWER on IntegriCloud