aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/cam_xpt.c
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2005-02-20 23:51:20 +0000
committerScott Long <scottl@FreeBSD.org>2005-02-20 23:51:20 +0000
commit01910bab7d264f99f86c5bdee93f674e3b8d2469 (patch)
treec9b0ee8d5981f889f8afad413cdbf96e0908fe27 /sys/cam/cam_xpt.c
parent661658a6fae9ef938f79e9a3f23b3dd3ce0f061c (diff)
downloadsrc-01910bab7d264f99f86c5bdee93f674e3b8d2469.tar.gz
src-01910bab7d264f99f86c5bdee93f674e3b8d2469.zip
Notes
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r--sys/cam/cam_xpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index 128d729b971e..53f9d0eaeeff 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -2546,7 +2546,7 @@ xptplistperiphfunc(struct cam_periph *periph, void *arg)
break;
}
- if (pdrv == NULL) {
+ if (*pdrv == NULL) {
cdm->status = CAM_DEV_MATCH_ERROR;
return(0);
}