diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2008-10-27 21:46:58 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2008-10-27 21:46:58 +0000 |
| commit | 25ea4c843f168f17258ff4d63be8356cc54b8e6e (patch) | |
| tree | 7e16c3af04ed27ad1dba434159fb49d4931cbdb7 /lib/libcam | |
| parent | f06b09959d5575eaf2221e69bb6e5114ba974521 (diff) | |
Notes
Diffstat (limited to 'lib/libcam')
| -rw-r--r-- | lib/libcam/camlib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libcam/camlib.c b/lib/libcam/camlib.c index e521ed366cf5..73cc3d06f8da 100644 --- a/lib/libcam/camlib.c +++ b/lib/libcam/camlib.c @@ -346,6 +346,9 @@ cam_open_btl(path_id_t path_id, target_id_t target_id, lun_id_t target_lun, bzero(&ccb, sizeof(union ccb)); ccb.ccb_h.func_code = XPT_DEV_MATCH; + ccb.ccb_h.path_id = CAM_XPT_PATH_ID; + ccb.ccb_h.target_id = CAM_TARGET_WILDCARD; + ccb.ccb_h.target_lun = CAM_LUN_WILDCARD; /* Setup the result buffer */ bufsize = sizeof(struct dev_match_result); |
