[stgt] [PATCH] fix tgt_bind_host_to_target() debug message

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Feb 3 12:06:49 CET 2010


From: Tomasz Rydzynski <qsorix at rydznet.pl>

Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
---
 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 at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list