diff options
author | Mahesh J Salgaonkar <mahesh@linux.vnet.in.ibm.com> | 2009-03-20 11:04:47 +0530 |
---|---|---|
committer | Mahesh J Salgaonkar <mahesh@linux.vnet.in.ibm.com> | 2009-03-20 11:04:47 +0530 |
commit | 0cf9ea606eb7677a1241595f7568dd4a6c243ef2 (patch) | |
tree | 4bb58877de4e349b134e788275980dc38eb9263d | |
parent | d2bb12d37037345a77e90aa83512075d78ae968f (diff) | |
download | systemtap-steved-0cf9ea606eb7677a1241595f7568dd4a6c243ef2.tar.gz systemtap-steved-0cf9ea606eb7677a1241595f7568dd4a6c243ef2.tar.xz systemtap-steved-0cf9ea606eb7677a1241595f7568dd4a6c243ef2.zip |
Removed #if defined. Format '%llx' works fine for all Arch
-rw-r--r-- | tapset/aux_syscalls.stp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index d2e43903..87ea4e04 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -322,17 +322,10 @@ function _struct_sockaddr_u:string(uaddr:long, len:long) } else if ((sa->sa_family == AF_PACKET)&&(len == sizeof(struct sockaddr_ll))) { - /* FIXME. This needs tested */ struct sockaddr_ll *sll = (struct sockaddr_ll *)buf; -#if defined(__powerpc__) || defined(__ia64__) || defined(__s390x__) - snprintf(str, strlen, "{AF_PACKET, proto=%d, ind=%d, hatype=%d, pkttype=%d, halen=%d, addr=0x%lx}", - (int)sll->sll_protocol, sll->sll_ifindex, (int)sll->sll_hatype, (int)sll->sll_pkttype, - (int)sll->sll_halen, *(uint64_t *)sll->sll_addr); -#else 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); -#endif } else { |