about summary refs log tree commit diff
path: root/support/timespec-sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/timespec-sub.c')
-rw-r--r--support/timespec-sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/timespec-sub.c b/support/timespec-sub.c
index 08cc233086..0b8fea042d 100644
--- a/support/timespec-sub.c
+++ b/support/timespec-sub.c
@@ -61,5 +61,5 @@ timespec_sub (struct timespec a, struct timespec b)
         }
     }
 
-  return make_timespec (rs, rns);
+  return (struct timespec) { .tv_sec = rs, .tv_nsec = rns };
 }