summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authoranton <anton@cvs.openbsd.org>2021-03-09 20:03:51 +0000
committeranton <anton@cvs.openbsd.org>2021-03-09 20:03:51 +0000
commitbe0f2d5e7baa6afb3e93a45b1309e0cdf1477607 (patch)
treee128fcc2cfdd0183e58690db93df2925ce30a54b /sys/net
parent7fedd2617ec95fedd3a563a4673f4d99793a92ff (diff)
Shorten the if_cloners_lock name preventing it from being truncated in
the top(1) wait column. ok mvs@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 3e0ce1643a6..6ed56de13a1 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.632 2021/02/20 04:55:52 dlg Exp $ */
+/* $OpenBSD: if.c,v 1.633 2021/03/09 20:03:50 anton Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -228,7 +228,7 @@ TAILQ_HEAD(, ifg_group) ifg_head = TAILQ_HEAD_INITIALIZER(ifg_head);
LIST_HEAD(, if_clone) if_cloners = LIST_HEAD_INITIALIZER(if_cloners);
int if_cloners_count;
-struct rwlock if_cloners_lock = RWLOCK_INITIALIZER("clonerlock");
+struct rwlock if_cloners_lock = RWLOCK_INITIALIZER("clonelk");
/* hooks should only be added, deleted, and run from a process context */
struct mutex if_hooks_mtx = MUTEX_INITIALIZER(IPL_NONE);