From 7ca02effa66dcc0c3373e901b13e0a09fa128ef8 Mon Sep 17 00:00:00 2001 From: Dr-Carlos Date: Mon, 5 Dec 2022 12:22:48 +1030 Subject: [PATCH] _isc: print syscall to 4 hex digits --- shell/i.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/i.cpp b/shell/i.cpp index 6570cd8..b6ac39d 100644 --- a/shell/i.cpp +++ b/shell/i.cpp @@ -218,7 +218,7 @@ void _isc(Session &session, std::string vspace_name, bool sort, continue; fmt::print(theme(3), " 0x{:08x}", address); - fmt::print(theme(10), " %{:01x}", syscall); + fmt::print(theme(10), " %{:04x}", syscall); fmt::print("\n"); }