svn commit: r188688 - head/sys/cam

Scott Long scottl at FreeBSD.org
Mon Feb 16 10:02:34 PST 2009


Author: scottl
Date: Mon Feb 16 18:02:32 2009
New Revision: 188688
URL: http://svn.freebsd.org/changeset/base/188688

Log:
  GCC attacks!

Modified:
  head/sys/cam/cam_xpt.c

Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c	Mon Feb 16 17:45:29 2009	(r188687)
+++ head/sys/cam/cam_xpt.c	Mon Feb 16 18:02:32 2009	(r188688)
@@ -5439,7 +5439,8 @@ static char *probe_action_text[] = {
 
 #define PROBE_SET_ACTION(softc, newaction)	\
 do {									\
-	char **text = probe_action_text;				\
+	char **text;							\
+	text = probe_action_text;					\
 	CAM_DEBUG((softc)->periph->path, CAM_DEBUG_INFO,		\
 	    ("Probe %s to %s\n", text[(softc)->action],			\
 	    text[(newaction)]));					\


More information about the svn-src-head mailing list