summaryrefslogtreecommitdiffstats
path: root/tools/perf/trace/beauty/timespec.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/trace/beauty/timespec.c')
-rw-r--r--tools/perf/trace/beauty/timespec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/trace/beauty/timespec.c b/tools/perf/trace/beauty/timespec.c
index e1a61f092aad..b14ab72a2738 100644
--- a/tools/perf/trace/beauty/timespec.c
+++ b/tools/perf/trace/beauty/timespec.c
@@ -7,7 +7,7 @@
static size_t syscall_arg__scnprintf_augmented_timespec(struct syscall_arg *arg, char *bf, size_t size)
{
- struct timespec *ts = (struct timespec *)arg->augmented.args;
+ struct timespec *ts = (struct timespec *)arg->augmented.args->value;
return scnprintf(bf, size, "{ .tv_sec: %" PRIu64 ", .tv_nsec: %" PRIu64 " }", ts->tv_sec, ts->tv_nsec);
}