iscsi: spelling fixes.
authorBrad Hards <bradh@frogmouth.net>
Sun, 16 Jan 2011 06:21:12 +0000 (17:21 +1100)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 17 Jan 2011 05:58:53 +0000 (16:28 +1030)
ccan/iscsi/discovery.c
ccan/iscsi/iscsi.h
ccan/iscsi/login.c
ccan/iscsi/pdu.c

index 3f297554a3c7e49648150a373b0b7bf3cfa555c9..581084e994f7820b14c34eaeeb5258d0a19eb80d 100644 (file)
@@ -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;
index 4aa4670970d83c51274df9a19f7f94f3fd014db5..26355dadbe155a7603acb535b694ffe3055ec7ba 100644 (file)
@@ -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);
index bc0d6ffa6acfad065fd9a5dcc379f79c5f4f2954..49a60e926078bd4f1de764d7b6e065af69e402db 100644 (file)
@@ -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;
        }
 
index 0b290d92092fe0a4900ca34a944bb6760594a58c..4d1802a9ce95ece1f93c08ae14cc384c0de5527a 100644 (file)
@@ -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;
                }