X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fiscsi%2Fdiscovery.c;h=2f2952f50455783acf701d08d274449b70cdb52b;hb=b2e751d04e590c49de02ceb56a7cafe877762b0e;hp=3f297554a3c7e49648150a373b0b7bf3cfa555c9;hpb=a40b318e7a07a452ae7456053727bd11b2fa49b4;p=ccan
diff --git a/ccan/iscsi/discovery.c b/ccan/iscsi/discovery.c
index 3f297554..2f2952f5 100644
--- a/ccan/iscsi/discovery.c
+++ b/ccan/iscsi/discovery.c
@@ -15,7 +15,7 @@
along with this program; if not, see .
*/
-#define _GNU_SOURCE
+#include "config.h"
#include
#include
#include
@@ -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;