[PATCH] fix tgt_bind_host_to_target() debug message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Tomasz Rydzynski <qsorix@xxxxxxxxxx>

Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
---
 usr/target.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usr/target.c b/usr/target.c
index 1b81d0d..c848757 100644
--- a/usr/target.c
+++ b/usr/target.c
@@ -1449,7 +1449,7 @@ int tgt_bind_host_to_target(int tid, int host_no)
 
 	list_add(&bhost->bhost_siblings, &bound_host_list);
 
-	dprintf("bound the scsi host %d to the target %d\n", host_no, host_no);
+	dprintf("bound the scsi host %d to the target %d\n", host_no, tid);
 
 	return 0;
 }
-- 
1.5.6.5

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux