From 4531849366893a9a9f892e2fc67a2d48ac4f3bf5 Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Sun, 16 Jan 2011 17:21:12 +1100 Subject: [PATCH 1/1] iscsi: spelling fixes. --- ccan/iscsi/discovery.c | 2 +- ccan/iscsi/iscsi.h | 2 +- ccan/iscsi/login.c | 2 +- ccan/iscsi/pdu.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ccan/iscsi/discovery.c b/ccan/iscsi/discovery.c index 3f297554..581084e9 100644 --- a/ccan/iscsi/discovery.c +++ b/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; diff --git a/ccan/iscsi/iscsi.h b/ccan/iscsi/iscsi.h index 4aa46709..26355dad 100644 --- a/ccan/iscsi/iscsi.h +++ b/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); diff --git a/ccan/iscsi/login.c b/ccan/iscsi/login.c index bc0d6ffa..49a60e92 100644 --- a/ccan/iscsi/login.c +++ b/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; } diff --git a/ccan/iscsi/pdu.c b/ccan/iscsi/pdu.c index 0b290d92..4d1802a9 100644 --- a/ccan/iscsi/pdu.c +++ b/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; } -- 2.39.2