Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2003 09:52:56 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 26504 for review
Message-ID:  <200303071752.h27Hquvr066892@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=26504

Change 26504 by jhb@jhb_laptop on 2003/03/07 09:52:48

	Fix a bug.  Test 17 isn't supposed to be a panic(2) implementation.

Affected files ...

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

Differences ...

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

@@ -214,8 +214,10 @@
 			mtx_unlock(&test_mtx);
 			break;
 		case 17:
+			bzero(&test1_mtx, sizeof(test1_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);
 			Debugger("no order yet");
 			mtx_lock(&Giant);
 			mtx_lock(&test1_mtx);

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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