X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fiscsi%2Flogin.c;h=49a60e926078bd4f1de764d7b6e065af69e402db;hp=5863d88331db4ffd2a46be54a241ca4922afac81;hb=37e247dbcb57f4b2effd44b37b96dc679ee525d0;hpb=5d4a434d90373bc99e4bacc97eca5a4abddd700f diff --git a/ccan/iscsi/login.c b/ccan/iscsi/login.c index 5863d883..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; } @@ -268,7 +268,7 @@ int iscsi_logout_async(struct iscsi_context *iscsi, iscsi_command_cb cb, void *p return 0; } -int iscsi_process_logout_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu, const unsigned char *hdr, int size UNNEEDED_ATTRIBUTE) +int iscsi_process_logout_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu, const unsigned char *hdr, int size UNUSED) { iscsi->is_loggedin = 0; pdu->callback(iscsi, ISCSI_STATUS_GOOD, NULL, pdu->private_data);