From c9e4477f6408b2bf994957c60f7feff7d79f0562 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Fri, 27 Nov 2020 16:23:22 -0500 Subject: [PATCH] chore: log invalid context --- runtime/include/arch/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/include/arch/common.h b/runtime/include/arch/common.h index 507c22f..46ac0d5 100644 --- a/runtime/include/arch/common.h +++ b/runtime/include/arch/common.h @@ -49,7 +49,7 @@ arch_context_variant_print(arch_context_variant_t context) case ARCH_CONTEXT_VARIANT_RUNNING: return "Running"; default: - panic("Encountered unexpected arch_context variant\n"); + panic("Encountered unexpected arch_context variant: %u\n", context); } }