cvs commit: src/sys/cam cam_xpt.c
Bjoern A. Zeeb
bz at FreeBSD.org
Thu Dec 21 14:58:25 PST 2006
On Thu, 21 Dec 2006, Matt Jacob wrote:
> mjacob 2006-12-21 20:06:30 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/cam cam_xpt.c
> Log:
> Pay attention to return value from xpt_bus_register in xpt_init.
>
> Obtained from: Xin Li (Coverity)
> MFC after: 3 days
>
> Revision Changes Path
> 1.172 +5 -1 src/sys/cam/cam_xpt.c
ident cam_xpt.c
cam_xpt.c:
$FreeBSD: src/sys/cam/cam_xpt.c,v 1.172 2006/12/21 20:06:30 mjacob Exp $
sys/cam/cam_xpt.c: In function `xpt_init':
sys/cam/cam_xpt.c:1450: error: syntax error before ';' token
sys/cam/cam_xpt.c:1451: warning: left-hand operand of comma expression has no effect
sys/cam/cam_xpt.c:1451: error: syntax error before ')' token
Index: cam_xpt.c
===================================================================
RCS file: /shared/mirror/FreeBSD/r/ncvs/src/sys/cam/cam_xpt.c,v
retrieving revision 1.172
diff -u -p -r1.172 cam_xpt.c
--- cam_xpt.c 21 Dec 2006 20:06:30 -0000 1.172
+++ cam_xpt.c 21 Dec 2006 22:37:39 -0000
@@ -1447,7 +1447,7 @@ xpt_init(dummy)
xpt_max_ccbs = 16;
if ((status = xpt_bus_register(xpt_sim, /*bus #*/0)) != CAM_SUCCESS) {
- printf("xpt_init: xpt_bus_register failed with status %#x,";
+ printf("xpt_init: xpt_bus_register failed with status %#x,"
" failing attach\n", status);
return;
}
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
More information about the cvs-src
mailing list