From d36576e49e45fd891ca5f86f13ea033224eedf3e Mon Sep 17 00:00:00 2001 From: edef Date: Fri, 29 Jul 2022 18:09:49 +0000 Subject: ripple/minitrace: use # instead of prefixing with 0x Change-Id: Ie21b75abcfc3f3d0fe68d84d81e92914fc9a7c0c --- ripple/minitrace/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ripple') 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) }),* }, )* -- cgit 1.4.1