From 246a5ae3a0e73281e07ad2f26b1e62374f1bccf3 Mon Sep 17 00:00:00 2001 From: mav Date: Thu, 8 May 2014 06:55:48 +0000 Subject: 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. --- sys/cam/scsi/scsi_low.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/cam/scsi') 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) { -- cgit v1.1