summaryrefslogtreecommitdiffstats
path: root/tapset
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-03-26 11:31:04 -0400
committerDave Brolley <brolley@redhat.com>2009-03-26 11:31:04 -0400
commit4407fecb4b4e7466b256a26d1bfd63333bf367a2 (patch)
treed50e95d0928ef85e7a354926e71dace88ae82ff5 /tapset
parent666d747e2a8880c2906c1e2ead49182cf061df74 (diff)
parenta5e8d632f443c6a882dcabc669236dc4798b1fd7 (diff)
downloadsystemtap-steved-4407fecb4b4e7466b256a26d1bfd63333bf367a2.tar.gz
systemtap-steved-4407fecb4b4e7466b256a26d1bfd63333bf367a2.tar.xz
systemtap-steved-4407fecb4b4e7466b256a26d1bfd63333bf367a2.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'tapset')
-rw-r--r--tapset/aux_syscalls.stp3
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
{