diff --git a/lib/timeutil.c b/lib/timeutil.c index 0ee5004e..093e2790 100644 --- a/lib/timeutil.c +++ b/lib/timeutil.c @@ -26,6 +26,8 @@ assert_normalized(const struct timespec *a) int timespec_cmp(const struct timespec *a, const struct timespec *b) { + assert_normalized(a); + assert_normalized(b); if (a->tv_sec == b->tv_sec) { if (a->tv_nsec == b->tv_nsec) { return 0;