From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by gabe.freedesktop.org (Postfix) with ESMTPS id A292E6E932 for ; Fri, 17 Apr 2020 19:49:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E9E991084445 for ; Fri, 17 Apr 2020 19:49:37 +0000 (UTC) From: Lyude Date: Fri, 17 Apr 2020 15:49:27 -0400 Message-Id: <20200417194931.39774-2-lyude@redhat.com> In-Reply-To: <20200417194931.39774-1-lyude@redhat.com> References: <20200417194931.39774-1-lyude@redhat.com> MIME-Version: 1.0 Subject: [igt-dev] [PATCH i-g-t v2 1/5] lib/igt_core: Fix igt_assert_fd() documentation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org List-ID: From: Lyude Paul 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. Signed-off-by: Lyude Paul --- lib/igt_core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/igt_core.h b/lib/igt_core.h index b97fa2fa..3f69b072 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"); -- 2.25.1 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev