X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=discover%2Fuser-event.c;h=69e6f7df1eb442aef7f9fb92216d1161744b272e;hb=49f515d354d8d40e2053fe5806fea12b06bcb115;hp=61008c1a1cc484dd38c5d6dcd78795a2aa77e4ea;hpb=b8e53cb4b96eb17dc7fa0ffc505dfebae37e6cbf;p=petitboot diff --git a/discover/user-event.c b/discover/user-event.c index 61008c1..69e6f7d 100644 --- a/discover/user-event.c +++ b/discover/user-event.c @@ -20,7 +20,6 @@ #include "config.h" #endif -#define _GNU_SOURCE #include #include #include @@ -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);