diff options
author | mav <mav@FreeBSD.org> | 2014-05-08 06:55:48 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2014-05-08 06:55:48 +0000 |
commit | 246a5ae3a0e73281e07ad2f26b1e62374f1bccf3 (patch) | |
tree | 990f955420fad3993aaccd0eaf2be56e1d0adb67 /sys/cam/scsi | |
parent | 48c2f6d38bfade922f8a85153b50062ae9b3e1b1 (diff) | |
download | FreeBSD-src-246a5ae3a0e73281e07ad2f26b1e62374f1bccf3.zip FreeBSD-src-246a5ae3a0e73281e07ad2f26b1e62374f1bccf3.tar.gz |
MFC r260509:
Replace several instances of -1 with appropriate CAM_*_WILDCARD and types.
It was equal before r259397, but for good or bad, not any more for LUNs.
This change fixes at least CAM debugging.
Diffstat (limited to 'sys/cam/scsi')
-rw-r--r-- | sys/cam/scsi/scsi_low.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_low.c b/sys/cam/scsi/scsi_low.c index 23dca05..6e6a2e9 100644 --- a/sys/cam/scsi/scsi_low.c +++ b/sys/cam/scsi/scsi_low.c @@ -4232,7 +4232,7 @@ scsi_low_print(slp, ti) if (ti != NULL) { u_int flags = 0, maxnqio = 0, nqio = 0; - int lun = -1; + int lun = CAM_LUN_WILDCARD; if (li != NULL) { |