From bfe4fc43b990a7c3fda0dcb6528fa065f30c3c35 Mon Sep 17 00:00:00 2001 From: scottl Date: Mon, 16 Feb 2009 18:02:32 +0000 Subject: [PATCH] GCC attacks! --- sys/cam/cam_xpt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index b3be9e5cd9e9..08286db2277d 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -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)])); \