]> git.ozlabs.org Git - petitboot/blobdiff - discover/user-event.c
discover: we need stderr for the BusyBox TFTP type check
[petitboot] / discover / user-event.c
index 61008c1a1cc484dd38c5d6dcd78795a2aa77e4ea..69e6f7df1eb442aef7f9fb92216d1161744b272e 100644 (file)
@@ -20,7 +20,6 @@
 #include "config.h"
 #endif
 
-#define _GNU_SOURCE
 #include <assert.h>
 #include <errno.h>
 #include <string.h>
@@ -237,7 +236,7 @@ struct pb_url *user_event_parse_conf_url(struct discover_context *ctx,
        char *p, *basedir, *url_str;
        struct pb_url *url;
 
-       conffile = event_get_param(event, "conffile");
+       conffile = event_get_param(event, "pxeconffile");
        if (conffile) {
                if (is_url(conffile)) {
                        url = pb_url_parse(ctx, conffile);