Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 2004 14:04:50 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 44709 for review
Message-ID:  <200401022204.i02M4ob5010556@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

http://perforce.freebsd.org/chv.cgi?CH=44709

Change 44709 by jhb@jhb_blue on 2004/01/02 14:04:27

	Bah, stupid bug.

Affected files ...

.. //depot/projects/smpng/sys/modules/crash/crash.c#8 edit

Differences ...

==== //depot/projects/smpng/sys/modules/crash/crash.c#8 (text+ko) ====

@@ -234,9 +234,9 @@
 			break;
 		case 18:
 			bzero(&test1_mtx, sizeof(test1_mtx));
-			bzero(&test1_mtx, sizeof(test2_mtx));
+			bzero(&test2_mtx, sizeof(test2_mtx));
 			mtx_init(&test1_mtx, "test1", NULL, MTX_DEF);
-			mtx_init(&test1_mtx, "test2", NULL, MTX_DEF |
+			mtx_init(&test2_mtx, "test2", NULL, MTX_DEF |
 			    MTX_RECURSE);
 #define TRYLOCK_TEST(lock, descr) do {					\
 	status = mtx_trylock((lock));					\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401022204.i02M4ob5010556>