summary refs log tree commit diff
diff options
context:
space:
mode:
authoredef <edef@unfathomable.blue>2022-07-29 18:09:49 +0000
committeredef <edef@unfathomable.blue>2022-07-29 18:09:49 +0000
commitd36576e49e45fd891ca5f86f13ea033224eedf3e (patch)
treea5d3027e55baaf1bc82b83b766310a18f3131c45
parent7ea6947b777a15d29e08be0f14d6343183eb22b0 (diff)
downloadunf-legacy-d36576e49e45fd891ca5f86f13ea033224eedf3e.tar.zst
ripple/minitrace: use # instead of prefixing with 0x
Change-Id: Ie21b75abcfc3f3d0fe68d84d81e92914fc9a7c0c
-rw-r--r--ripple/minitrace/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs
index 71b6ef2..567a3c6 100644
--- a/ripple/minitrace/src/main.rs
+++ b/ripple/minitrace/src/main.rs
@@ -114,7 +114,7 @@ macro_rules! define_syscalls {
 						($nr, [$($arg),*, ..]) => $SyscallEntry::$syscall {
 							$($arg: match ProcessSyscallArg::try_from_process_reg(process, $arg) {
 								Some(x) => x,
-								None => bail!("couldn't parse {}(2) {}: 0x{:08x}", stringify!($syscall), stringify!($arg), $arg)
+								None => bail!("couldn't parse {}(2) {}: {:#08x}", stringify!($syscall), stringify!($arg), $arg)
 							}),*
 						},
 					)*