summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2009-02-16 18:02:32 +0000
committerscottl <scottl@FreeBSD.org>2009-02-16 18:02:32 +0000
commitbfe4fc43b990a7c3fda0dcb6528fa065f30c3c35 (patch)
tree3a516a45082418dc900cb412f3a56e7ddfa3b348 /sys/cam
parent1b7deeea5b4cb723f5f040720ccadf16b78574b0 (diff)
downloadFreeBSD-src-bfe4fc43b990a7c3fda0dcb6528fa065f30c3c35.zip
FreeBSD-src-bfe4fc43b990a7c3fda0dcb6528fa065f30c3c35.tar.gz
GCC attacks!
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/cam_xpt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index b3be9e5..08286db 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)])); \
OpenPOWER on IntegriCloud