aboutsummaryrefslogtreecommitdiff
path: root/support/timespec-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/timespec-add.c')
-rw-r--r--support/timespec-add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/timespec-add.c b/support/timespec-add.c
index cf8bd91291..8ed3acef6d 100644
--- a/support/timespec-add.c
+++ b/support/timespec-add.c
@@ -61,5 +61,5 @@ timespec_add (struct timespec a, struct timespec b)
}
}
- return make_timespec (rs, rns);
+ return (struct timespec) { .tv_sec = rs, .tv_nsec = rns };
}