Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Mar 2006 18:18:34 GMT
From:      Scott Long <scottl@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 92801 for review
Message-ID:  <200603051818.k25IIY1p073923@repoman.freebsd.org>

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

Change 92801 by scottl@scottl-x64 on 2006/03/05 18:17:58

	Fix compile problems.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/cam_periph.c#7 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/cam_periph.c#7 (text+ko) ====

@@ -412,7 +412,6 @@
 void
 cam_periph_invalidate(struct cam_periph *periph)
 {
-	int s;
 
 	/*
 	 * We only call this routine the first time a peripheral is
@@ -444,7 +443,7 @@
 {
 	struct periph_driver **p_drv;
 
-	mtx_assert(&cam_topo_lock, MTX_OWNED);
+	mtx_assert(&cam_topo_lock, MA_OWNED);
 
 	for (p_drv = periph_drivers; *p_drv != NULL; p_drv++) {
 		if (strcmp((*p_drv)->driver_name, periph->periph_name) == 0) {



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