From c9112dca9e82288b887e248a5982df94c8ec1c04 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Fri, 2 Oct 2015 12:56:16 +0200 Subject: lib/core: Fix docs for igt_assert_lt(e) Logical negation is hard. v2: The second integer isn't plural (Daniel). Cc: "Morton, Derek J" Signed-off-by: Daniel Vetter Reviewed-by: Daniel Stone Signed-off-by: Daniel Vetter --- lib/igt_core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/igt_core.h') diff --git a/lib/igt_core.h b/lib/igt_core.h index f8bfbf01..6259321b 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -458,7 +458,7 @@ void igt_exit(void) __attribute__((noreturn)); * @n1: first integer * @n2: second integer * - * Fails (sub-)test if the second integers is greater than the first. + * Fails (sub-)test if the second integer is strictly smaller than the first. * Beware that for now this only works on integers. * * Like igt_assert(), but displays the values being compared on failure instead @@ -471,7 +471,7 @@ void igt_exit(void) __attribute__((noreturn)); * @n1: first integer * @n2: second integer * - * Fails (sub-)test if the second integers is strictly smaller than the first. + * Fails (sub-)test if the second integer is smaller than or equal to the first. * Beware that for now this only works on integers. * * Like igt_assert(), but displays the values being compared on failure instead -- cgit v1.2.3