diff options
author | hunt <hunt> | 2007-10-01 15:28:12 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-10-01 15:28:12 +0000 |
commit | c1c10f4b459dcd39c6d9d62cf902d20b455bfc08 (patch) | |
tree | 5152f78c7c8065f9edc84a47f3f15fef801dc736 /tapset/aux_syscalls.stp | |
parent | 04930c203ab0172159973cfbe29fac39658ea608 (diff) | |
download | systemtap-steved-c1c10f4b459dcd39c6d9d62cf902d20b455bfc08.tar.gz systemtap-steved-c1c10f4b459dcd39c6d9d62cf902d20b455bfc08.tar.xz systemtap-steved-c1c10f4b459dcd39c6d9d62cf902d20b455bfc08.zip |
2007-10-01 Martin Hunt <hunt@redhat.com>
* aux_syscalls.stp (_str_lookup_str): Print unmatched
values in hex.
Diffstat (limited to 'tapset/aux_syscalls.stp')
-rw-r--r-- | tapset/aux_syscalls.stp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |