]> git.ozlabs.org Git - ccan/blobdiff - ccan/iscsi/discovery.c
iscsi, nfs, opt, tap: use config.h instead of defining _GNU_SOURCE.
[ccan] / ccan / iscsi / discovery.c
index 3f297554a3c7e49648150a373b0b7bf3cfa555c9..2f2952f50455783acf701d08d274449b70cdb52b 100644 (file)
@@ -15,7 +15,7 @@
    along with this program; if not, see <http://www.gnu.org/licenses/>.
 */
 
-#define _GNU_SOURCE
+#include "config.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -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;