utils/pb-udhcpc: Unify references to DHCP bootfile parameter
[petitboot] / discover / user-event.c
index 7acd237234848d453740592cc0d16c2cad09a78d..dc671d948fb04aa28c80c56caabebda01da3d0f4 100644 (file)
@@ -89,9 +89,9 @@ static struct resource *user_event_resource(struct discover_boot_option *opt,
                return NULL;
        }
 
-       boot_file = event_get_param(event, "boot_file");
+       boot_file = event_get_param(event, "bootfile");
        if (!boot_file) {
-               pb_log("%s: boot_file not found\n", __func__);
+               pb_log("%s: bootfile not found\n", __func__);
                return NULL;
        }