Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2009 07:24:26 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r189219 - in stable/7/sys: . cam contrib/pf dev/ath/ath_hal dev/cxgb
Message-ID:  <200903010724.n217OQnF035011@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: scottl
Date: Sun Mar  1 07:24:26 2009
New Revision: 189219
URL: http://svn.freebsd.org/changeset/base/189219

Log:
  Merge 188395: Fix "invalid periph name" error condition.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/cam/cam_periph.c
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)

Modified: stable/7/sys/cam/cam_periph.c
==============================================================================
--- stable/7/sys/cam/cam_periph.c	Sun Mar  1 07:22:46 2009	(r189218)
+++ stable/7/sys/cam/cam_periph.c	Sun Mar  1 07:24:26 2009	(r189219)
@@ -171,7 +171,7 @@ cam_periph_alloc(periph_ctor_t *periph_c
 			break;
 	}
 	xpt_unlock_buses();
-	if (p_drv == NULL) {
+	if (*p_drv == NULL) {
 		printf("cam_periph_alloc: invalid periph name '%s'\n", name);
 		return (CAM_REQ_INVALID);
 	}



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