Browse Source

iscsi: spelling fixes.

Brad Hards 15 years ago
parent
commit
4531849366
4 changed files with 4 additions and 4 deletions
  1. 1 1
      ccan/iscsi/discovery.c
  2. 1 1
      ccan/iscsi/iscsi.h
  3. 1 1
      ccan/iscsi/login.c
  4. 1 1
      ccan/iscsi/pdu.c

+ 1 - 1
ccan/iscsi/discovery.c

@@ -155,7 +155,7 @@ int iscsi_process_text_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu,
 				return -1;
 			}
 		} 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);
 			iscsi_free_discovery_addresses(targets);
 			return -1;

+ 1 - 1
ccan/iscsi/iscsi.h

@@ -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
  *                            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().
  */
 int iscsi_connect_async(struct iscsi_context *iscsi, const char *target, iscsi_command_cb cb, void *private_data);

+ 1 - 1
ccan/iscsi/login.c

@@ -205,7 +205,7 @@ int iscsi_process_login_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu
 	int status;
 
 	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;
 	}
 

+ 1 - 1
ccan/iscsi/pdu.c

@@ -241,7 +241,7 @@ int iscsi_process_pdu(struct iscsi_context *iscsi, const unsigned char *hdr, int
 			}
 			break;
 		default:
-			printf("Dont know how to handle opcode %d\n", opcode);
+			printf("Don't know how to handle opcode %d\n", opcode);
 			return -2;
 		}