Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2009 18:02:32 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188688 - head/sys/cam
Message-ID:  <200902161802.n1GI2W3d076949@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)]));					\



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