Bläddra i källkod

Tweaked retry messages

tags/v0.9.3
Michael Brown 18 år sedan
förälder
incheckning
8c3d09c564
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      src/net/tcp/iscsi.c

+ 2
- 1
src/net/tcp/iscsi.c Visa fil

1125
 
1125
 
1126
 	/* Retry connection if within the retry limit, otherwise fail */
1126
 	/* Retry connection if within the retry limit, otherwise fail */
1127
 	if ( ++iscsi->retry_count <= ISCSI_MAX_RETRIES ) {
1127
 	if ( ++iscsi->retry_count <= ISCSI_MAX_RETRIES ) {
1128
+		DBG ( "iSCSI %p retrying connection\n", iscsi );
1128
 		tcp_connect ( conn );
1129
 		tcp_connect ( conn );
1129
 	} else {
1130
 	} else {
1130
-		printf ( "iSCSI retry count exceeded\n" );
1131
+		printf ( "iSCSI %p retry count exceeded\n", iscsi );
1131
 		iscsi_done ( iscsi, status );
1132
 		iscsi_done ( iscsi, status );
1132
 	}
1133
 	}
1133
 }
1134
 }

Laddar…
Avbryt
Spara