summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/tcp/iscsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tcp/iscsi.c b/src/net/tcp/iscsi.c
index 31d5a1b91..424bbcf47 100644
--- a/src/net/tcp/iscsi.c
+++ b/src/net/tcp/iscsi.c
@@ -1125,9 +1125,10 @@ static void iscsi_closed ( struct tcp_connection *conn, int status ) {
/* Retry connection if within the retry limit, otherwise fail */
if ( ++iscsi->retry_count <= ISCSI_MAX_RETRIES ) {
+ DBG ( "iSCSI %p retrying connection\n", iscsi );
tcp_connect ( conn );
} else {
- printf ( "iSCSI retry count exceeded\n" );
+ printf ( "iSCSI %p retry count exceeded\n", iscsi );
iscsi_done ( iscsi, status );
}
}