X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..b0d623f7f2ae71ed96e60569f61f9a9a27016e80:/pexpert/gen/pe_gen.c?ds=inline diff --git a/pexpert/gen/pe_gen.c b/pexpert/gen/pe_gen.c index 32be95e27..43ab61a96 100644 --- a/pexpert/gen/pe_gen.c +++ b/pexpert/gen/pe_gen.c @@ -39,11 +39,11 @@ int32_t gPESerialBaud = -1; void pe_init_debug(void) { - if (!PE_parse_boot_arg("debug", &DEBUGFlag)) + if (!PE_parse_boot_argn("debug", &DEBUGFlag, sizeof (DEBUGFlag))) DEBUGFlag = 0; } -void PE_enter_debugger(char *cause) +void PE_enter_debugger(const char *cause) { if (DEBUGFlag & DB_NMI) Debugger(cause);