From da8c9a7e035df0ad9e748caacc654b23a5901af9 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 6 Apr 2020 02:32:08 +0200 Subject: boot_script: Explicit missing symbol name * kern/boot_script.c: Include . (boot_script_exec): Print missing symbol name on symbol lookup error. --- kern/boot_script.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kern/boot_script.c b/kern/boot_script.c index d937a26f..9e8f60a7 100644 --- a/kern/boot_script.c +++ b/kern/boot_script.c @@ -4,6 +4,7 @@ #include #include +#include #include "boot_script.h" @@ -558,6 +559,7 @@ boot_script_exec (void) if (sym->type == VAL_NONE) { error = BOOT_SCRIPT_UNDEF_SYM; + printf("bootstrap script missing symbol '%s'\n", sym->name); goto done; } arg->type = sym->type; -- cgit v1.2.3