aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2003-03-11 20:01:51 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2003-03-11 20:01:51 +0000
commit740190593a1bdfcc75361bfba38c6166a05edc4c (patch)
tree2ef6a02db23573cb7541411e02136c34d079a552
parentc06394f53fafaddbb11edba7831586c530c9c04c (diff)
downloadsrc-740190593a1bdfcc75361bfba38c6166a05edc4c.tar.gz
src-740190593a1bdfcc75361bfba38c6166a05edc4c.zip
Use a shorter and less redundant name for the sysctl tree lock.
Notes
Notes: svn path=/head/; revision=112107
-rw-r--r--sys/kern/kern_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index 2c5191c86470..26b309c74205 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -68,7 +68,7 @@ static struct sx sysctllock;
#define SYSCTL_LOCK() sx_xlock(&sysctllock)
#define SYSCTL_UNLOCK() sx_xunlock(&sysctllock)
-#define SYSCTL_INIT() sx_init(&sysctllock, "sysctl sysctllock")
+#define SYSCTL_INIT() sx_init(&sysctllock, "sysctl lock")
static int sysctl_root(SYSCTL_HANDLER_ARGS);