PERFORCE change 87965 for review
John Baldwin
jhb at FreeBSD.org
Fri Dec 9 11:24:02 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=87965
Change 87965 by jhb at jhb_twclab on 2005/12/09 19:23:03
Use a mutex that is initialized.
Affected files ...
.. //depot/projects/smpng/sys/modules/crash/crash.c#23 edit
Differences ...
==== //depot/projects/smpng/sys/modules/crash/crash.c#23 (text+ko) ====
@@ -87,9 +87,9 @@
ddblock_test(void)
{
- mtx_lock(&test1_mtx);
- kdb_enter("test1_mtx locked");
- mtx_unlock(&test1_mtx);
+ mtx_lock(&test_mtx);
+ kdb_enter("test_mtx locked");
+ mtx_unlock(&test_mtx);
sx_slock(&foo);
kdb_enter("foo slocked");
sx_sunlock(&foo);
More information about the p4-projects
mailing list