From 0a909eae0e616b74bb2e34e47e75635ba68f5c1c Mon Sep 17 00:00:00 2001 From: Drew Galbraith Date: Sat, 17 Jun 2023 00:03:09 -0700 Subject: [PATCH] Print exit codes in hex --- zion/syscall/syscall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zion/syscall/syscall.cpp b/zion/syscall/syscall.cpp index e76a7c1..7f86778 100644 --- a/zion/syscall/syscall.cpp +++ b/zion/syscall/syscall.cpp @@ -238,7 +238,7 @@ extern "C" z_err_t SyscallHandler(uint64_t call_id, void* req, void* resp) { switch (call_id) { case Z_PROCESS_EXIT: // FIXME: kill process here. - dbgln("Exit code: %u", req); + dbgln("Exit code: %x", req); thread->Exit(); panic("Returned from thread exit"); break;