From 92257f56a32f16795402cdbeb76a8b4f56ea2369 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 8 Feb 2023 20:17:38 +0100 Subject: slock: Fix initialization of statically-allocated slocks (this is actually a no-op for i386) --- kern/xpr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/xpr.c') diff --git a/kern/xpr.c b/kern/xpr.c index 46cb2273..1b551eb1 100644 --- a/kern/xpr.c +++ b/kern/xpr.c @@ -46,7 +46,7 @@ * Just set xprenable false so the buffer isn't overwritten. */ -decl_simple_lock_data(, xprlock) +def_simple_lock_data(static, xprlock) boolean_t xprenable = TRUE; /* Enable xpr tracing */ int nxprbufs = 0; /* Number of contiguous xprbufs allocated */ -- cgit v1.2.3