diff options
Diffstat (limited to 'kern/boot_script.c')
-rw-r--r-- | kern/boot_script.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kern/boot_script.c b/kern/boot_script.c index b2ae901c..9e8f60a7 100644 --- a/kern/boot_script.c +++ b/kern/boot_script.c @@ -4,6 +4,7 @@ #include <mach/mach_types.h> #include <string.h> +#include <kern/printf.h> #include "boot_script.h" @@ -172,7 +173,7 @@ add_list (void *ptr, void ***ptr_list, int *alloc, int *index, int incr) /* Create an argument with TEXT, value type TYPE, and value VAL. Add the argument to the argument list of CMD. */ static struct arg * -add_arg (struct cmd *cmd, char *text, int type, int val) +add_arg (struct cmd *cmd, char *text, int type, long val) { struct arg *arg; @@ -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; |