aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2016-05-13 08:59:49 +0000
committerEnji Cooper <ngie@FreeBSD.org>2016-05-13 08:59:49 +0000
commit07f983799690c35b3462de333d196914a81a3b89 (patch)
treef96b6396e113f005aa31840fd25cc1a4f29f494e /sys/dev
parentaafc7c0091b0a40e73276b56a5831c4947494515 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sym/sym_hipd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c
index b3f3c7b66ee6..4b0f7bb1a922 100644
--- a/sys/dev/sym/sym_hipd.c
+++ b/sys/dev/sym/sym_hipd.c
@@ -8891,6 +8891,7 @@ static int sym_cam_attach(hcb_p np)
if (xpt_bus_register(sim, np->device, 0) != CAM_SUCCESS)
goto fail;
np->sim = sim;
+ sim = NULL;
if (xpt_create_path(&path, NULL,
cam_sim_path(np->sim), CAM_TARGET_WILDCARD,