shithub: riscv

Download patch

ref: 3df2b18398544184e78446a9e9e25d5be343cf1c
parent: c44cbf31656fa7a596a4a230c04de36f3c7bb42c
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 16 14:20:57 EST 2014

truss: use A instead of X as address format for data dump

--- a/sys/lib/acid/syscall
+++ b/sys/lib/acid/syscall
@@ -12,7 +12,7 @@
 	i = 0;
 	loop 1, n do {
 		if (a[i]>=127) then {
-			print(fmt(addr, 'X'), ", ", n\D);
+			print(fmt(addr, 'A'), ", ", n\D);
 			return {};
 		}
 		i = i+1;