PERFORCE change 44709 for review

Sam Leffler sam at errno.com
Fri Jan 2 15:09:50 PST 2004


On Friday 02 January 2004 02:04 pm, John Baldwin wrote:
> http://perforce.freebsd.org/chv.cgi?CH=44709
>
> Change 44709 by jhb at 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));					\

Bah bah, bogus assertions.

	Sam



More information about the p4-projects mailing list