summaryrefslogtreecommitdiffstats
path: root/tools/perf/trace/beauty/sockaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/trace/beauty/sockaddr.c')
-rw-r--r--tools/perf/trace/beauty/sockaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/trace/beauty/sockaddr.c b/tools/perf/trace/beauty/sockaddr.c
index 2e0e867c0c1b..a17a27ac2a6f 100644
--- a/tools/perf/trace/beauty/sockaddr.c
+++ b/tools/perf/trace/beauty/sockaddr.c
@@ -47,7 +47,7 @@ static size_t (*af_scnprintfs[])(struct sockaddr *sa, char *bf, size_t size) = {
static size_t syscall_arg__scnprintf_augmented_sockaddr(struct syscall_arg *arg, char *bf, size_t size)
{
- struct sockaddr *sa = (struct sockaddr *)arg->augmented.args;
+ struct sockaddr *sa = (struct sockaddr *)&arg->augmented.args->value;
char family[32];
size_t printed;