]> git.ozlabs.org Git - ccan/blobdiff - ccan/iscsi/login.c
iscsi, nfs, opt, tap: use config.h instead of defining _GNU_SOURCE.
[ccan] / ccan / iscsi / login.c
index bc0d6ffa6acfad065fd9a5dcc379f79c5f4f2954..1fdf35ca4601a3912b37d83f87efb0a6dde19766 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>
@@ -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;
        }