From c29e0323020e0f96932d0f9b09747d5b2e28e5a6 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 24 Nov 2020 16:41:49 -0700 Subject: Changes to painic. It now prints the stack at the time of failure (if logging is initialized). --- src/kern/lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kern/lib.c') diff --git a/src/kern/lib.c b/src/kern/lib.c index 3214b7c..24e1658 100644 --- a/src/kern/lib.c +++ b/src/kern/lib.c @@ -1,6 +1,6 @@ #include "kern/lib.h" -#define nybble_to_hex(n) ((n) < 10 ? 0x30 + (n) : ('A' + ((n)-10))) +#define nybble_to_hex(n) ((n) < 10 ? 0x30 + (n) : ('a' + ((n)-10))) void hexify(uint32_t v, char* into) { -- cgit