diff options
author | William Cohen <wcohen@redhat.com> | 2009-03-25 18:26:01 -0400 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2009-03-25 18:26:01 -0400 |
commit | 121e57ae36e2030093f72723b1fb74dc0507ddab (patch) | |
tree | c9970fb79694c48e50ab4c12f10d72f342c072e0 | |
parent | 387a7a57e1dd8f07db10ada3f4c3010c96607bfa (diff) | |
download | systemtap-steved-121e57ae36e2030093f72723b1fb74dc0507ddab.tar.gz systemtap-steved-121e57ae36e2030093f72723b1fb74dc0507ddab.tar.xz systemtap-steved-121e57ae36e2030093f72723b1fb74dc0507ddab.zip |
Make aux_tapset.stp "long long" size agnostic so ia64 works.
-rw-r--r-- | tapset/aux_syscalls.stp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index 87ea4e04..009b0532 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -325,7 +325,8 @@ function _struct_sockaddr_u:string(uaddr:long, len:long) struct sockaddr_ll *sll = (struct sockaddr_ll *)buf; snprintf(str, strlen, "{AF_PACKET, proto=%d, ind=%d, hatype=%d, pkttype=%d, halen=%d, addr=0x%llx}", (int)sll->sll_protocol, sll->sll_ifindex, (int)sll->sll_hatype, (int)sll->sll_pkttype, - (int)sll->sll_halen, *(uint64_t *)sll->sll_addr); + (int)sll->sll_halen, + (long long)(*(uint64_t *)sll->sll_addr)); } else { |