X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fpxe-parser.c;h=5ac6990a876ecb9bc1873648e7601416ae40a7a7;hp=43520364982e865b302dc32a5920d394f88ccb76;hb=b5f9e34d85075afe7aa87b5ce4a1a2d911468e36;hpb=f64638f5a4f159297a74df9329afc6e73acf6d6b diff --git a/discover/pxe-parser.c b/discover/pxe-parser.c index 4352036..5ac6990 100644 --- a/discover/pxe-parser.c +++ b/discover/pxe-parser.c @@ -241,7 +241,6 @@ static void pxe_conf_parse_cb(struct load_url_result *result, void *data) { struct conf_context *conf = data; struct device_handler *handler; - struct boot_status status = {0}; struct pxe_parser_info *info; char *buf = NULL; int len, rc = 0; @@ -279,14 +278,12 @@ static void pxe_conf_parse_cb(struct load_url_result *result, void *data) handler = talloc_parent(conf); device_handler_discover_context_commit(handler, conf->dc); - status.type = BOOT_STATUS_INFO; /* * TRANSLATORS: the format specifier in this string in an IP address, * eg. 192.168.1.1 */ - status.message = talloc_asprintf(conf, _("pxe: parsed config for %s"), + device_handler_status_info(handler, _("pxe: parsed config for %s"), conf->dc->conf_url->host); - device_handler_boot_status(handler, &status); talloc_free(buf); out_clean: