From c1c10f4b459dcd39c6d9d62cf902d20b455bfc08 Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 1 Oct 2007 15:28:12 +0000 Subject: 2007-10-01 Martin Hunt * aux_syscalls.stp (_str_lookup_str): Print unmatched values in hex. --- tapset/aux_syscalls.stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tapset/aux_syscalls.stp') diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index cb47464f..23284db8 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -1558,7 +1558,7 @@ void _stp_lookup_str(const _stp_val_array * const array, long val, char *ptr, in } i++; } - snprintf(ptr, len, "%ld", val); + snprintf(ptr, len, "0x%lx", val); } void _stp_lookup_or_str(const _stp_val_array * const array, long val, char *ptr, int len) { -- cgit