Fix a bunch of typos

This commit is contained in:
Ronnie Sahlberg
2013-04-29 21:02:40 -07:00
parent 4a8d967541
commit 1165e06d19
7 changed files with 13 additions and 17 deletions

View File

@@ -33,10 +33,6 @@ static int my_iscsi_queue_pdu(struct iscsi_context *iscsi, struct iscsi_pdu *pdu
/* change the cmdsn so it becomes too big */
*(uint32_t *)&pdu->outdata.data[24] = htonl(iscsi->maxcmdsn + 1);
break;
case 2:
/* change the cmdsn so it becomes too small */
*(uint32_t *)&pdu->outdata.data[24] = 0;
break;
}
change_cmdsn = 0;
@@ -59,7 +55,7 @@ void test_iscsi_cmdsn_invalid(void)
local_iscsi_queue_pdu = my_iscsi_queue_pdu;
change_cmdsn = 1;
/* we dont want autoreconnect since some targets will drop the
* on this condition.
* connection on this condition.
*/
iscsi_set_noautoreconnect(iscsic, 1);
iscsi_set_timeout(iscsic, 3);