diff options
author | Lyude Paul <lyude@redhat.com> | 2020-09-30 13:31:46 -0400 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2020-09-30 15:02:17 -0400 |
commit | 2d51dcb88d78ff7533b869cc44b7af1d4a2746e2 (patch) | |
tree | 36eedb3d9052dadbd2035e05386e6ecdb534a847 /lib/igt_core.h | |
parent | eeccb2a17453f90ad92d1ab6f81ad7d344119d72 (diff) |
lib/igt_core: Fix igt_assert_fd() documentation
As Petri Latvala pointed out, some of the documentation in this macro is
mistakenly copied from the other igt_assert*() macros. Let's fix that.
Reviewed-by: Jeremy Cline <jcline@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'lib/igt_core.h')
-rw-r--r-- | lib/igt_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/igt_core.h b/lib/igt_core.h index c5871520..e74ede8b 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -966,8 +966,8 @@ void igt_describe_f(const char *fmt, ...); * * Fails (sub-) test if the given file descriptor is invalid. * - * Like igt_assert(), but displays the values being compared on failure instead - * of simply printing the stringified expression. + * Like igt_assert(), but displays the stringified identifier that was supposed + * to contain a valid fd on failure. */ #define igt_assert_fd(fd) \ igt_assert_f(fd >= 0, "file descriptor " #fd " failed\n"); |