aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2019-05-20 14:55:33 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-05-20 15:05:35 -0300
commitff6bec7d47b228f4ab2115676a6b7cde5542fa9d (patch)
treec318e482754e98d9090563ccfbcbe68152b5332b
parent236c18e5683028d41c2721a8b1ec45c56c953d95 (diff)
downloadglibc-ff6bec7d47b228f4ab2115676a6b7cde5542fa9d.tar.gz
glibc-ff6bec7d47b228f4ab2115676a6b7cde5542fa9d.tar.xz
glibc-ff6bec7d47b228f4ab2115676a6b7cde5542fa9d.zip
support: Correct confusing comment
* support/timespec.h: Correct confusing comment. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rw-r--r--ChangeLog4
-rw-r--r--support/timespec.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a4c0ec0378f..323e3f5e2b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-05-20 Mike Crowe <mac@mcrowe.com>
+
+ * support/timespec.h: Correct confusing comment.
+
2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
diff --git a/support/timespec.h b/support/timespec.h
index 4a8b341c5a2..e9f466b3d15 100644
--- a/support/timespec.h
+++ b/support/timespec.h
@@ -62,8 +62,8 @@ void test_timespec_equal_or_after_impl (const char *file, int line,
errno = saved_errno; \
})
-/* Check that the timespec on the left represents a after before the
- time on the right. */
+/* Check that the timespec on the left represents a time equal to or
+ after the time on the right. */
#define TEST_TIMESPEC_EQUAL_OR_AFTER(left, right) \
test_timespec_equal_or_after_impl (__FILE__, __LINE__, left, right)