Commit 45318493 authored by Brad Hards's avatar Brad Hards Committed by Rusty Russell

iscsi: spelling fixes.

parent 0e89f234
...@@ -155,7 +155,7 @@ int iscsi_process_text_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu, ...@@ -155,7 +155,7 @@ int iscsi_process_text_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu,
return -1; return -1;
} }
} else { } else {
printf("Dont know how to handle discovery string : %s\n", hdr); printf("Don't know how to handle discovery string : %s\n", hdr);
pdu->callback(iscsi, ISCSI_STATUS_ERROR, NULL, pdu->private_data); pdu->callback(iscsi, ISCSI_STATUS_ERROR, NULL, pdu->private_data);
iscsi_free_discovery_addresses(targets); iscsi_free_discovery_addresses(targets);
return -1; return -1;
......
...@@ -131,7 +131,7 @@ typedef void (*iscsi_command_cb)(struct iscsi_context *iscsi, int status, void * ...@@ -131,7 +131,7 @@ typedef void (*iscsi_command_cb)(struct iscsi_context *iscsi, int status, void *
* ISCSI_STATUS_ERROR : Either failed to establish the connection, or an already established connection * ISCSI_STATUS_ERROR : Either failed to establish the connection, or an already established connection
* has failed with an error. * has failed with an error.
* *
* The callback will NOT be invoked if the session is explicitely torn down through a call to * The callback will NOT be invoked if the session is explicitly torn down through a call to
* iscsi_disconnect() or iscsi_destroy_context(). * iscsi_disconnect() or iscsi_destroy_context().
*/ */
int iscsi_connect_async(struct iscsi_context *iscsi, const char *target, iscsi_command_cb cb, void *private_data); int iscsi_connect_async(struct iscsi_context *iscsi, const char *target, iscsi_command_cb cb, void *private_data);
......
...@@ -205,7 +205,7 @@ int iscsi_process_login_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu ...@@ -205,7 +205,7 @@ int iscsi_process_login_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu
int status; int status;
if (size < ISCSI_HEADER_SIZE) { if (size < ISCSI_HEADER_SIZE) {
printf("dont have enough data to read status from login reply\n"); printf("don't have enough data to read status from login reply\n");
return -1; return -1;
} }
......
...@@ -241,7 +241,7 @@ int iscsi_process_pdu(struct iscsi_context *iscsi, const unsigned char *hdr, int ...@@ -241,7 +241,7 @@ int iscsi_process_pdu(struct iscsi_context *iscsi, const unsigned char *hdr, int
} }
break; break;
default: default:
printf("Dont know how to handle opcode %d\n", opcode); printf("Don't know how to handle opcode %d\n", opcode);
return -2; return -2;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment