summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2004-02-29 23:10:58 +0000
committeroster <oster@NetBSD.org>2004-02-29 23:10:58 +0000
commitb5e62ef069faa4ec6351502449e43771655d1041 (patch)
treef5c69baeda73e5406f43efbf24e0d37a67147209 /sys/dev/raidframe
parent4b8d5fc8b6acb7597fc332490aa8f604ebabb87b (diff)
As a LOCK_DEBUG kernel complains, we should really initialze
rf_tracing_mutex.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_acctrace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_acctrace.c b/sys/dev/raidframe/rf_acctrace.c
index 622ccefcd46..a7dc46efb28 100644
--- a/sys/dev/raidframe/rf_acctrace.c
+++ b/sys/dev/raidframe/rf_acctrace.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_acctrace.c,v 1.17 2004/02/29 22:32:37 oster Exp $ */
+/* $NetBSD: rf_acctrace.c,v 1.18 2004/02/29 23:10:58 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_acctrace.c,v 1.17 2004/02/29 22:32:37 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_acctrace.c,v 1.18 2004/02/29 23:10:58 oster Exp $");
#include <sys/stat.h>
#include <sys/types.h>
@@ -60,8 +60,8 @@ rf_ConfigureAccessTrace(RF_ShutdownList_t **listp)
{
#if RF_ACC_TRACE > 0
numTracesSoFar = 0;
- rf_mutex_init(&rf_tracing_mutex);
#endif
+ rf_mutex_init(&rf_tracing_mutex);
return (0);
}