svn commit: r189219 - in stable/7/sys: . cam contrib/pf
dev/ath/ath_hal dev/cxgb
Scott Long
scottl at FreeBSD.org
Sat Feb 28 23:24:27 PST 2009
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);
}
More information about the svn-src-stable-7
mailing list