From 16568fd3362f7d9cc1871a703cfb91b393753395 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 22 Mar 2022 14:02:47 +0100 Subject: [PATCH] errno-to-awk: simplify expression No functional change. --- src/basic/errno-to-name.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/errno-to-name.awk b/src/basic/errno-to-name.awk index 6b18a90e13..8442124488 100644 --- a/src/basic/errno-to-name.awk +++ b/src/basic/errno-to-name.awk @@ -3,7 +3,7 @@ BEGIN{ print "static const char* const errno_names[] = { " } -!/EDEADLOCK/ && !/EWOULDBLOCK/ && !/ENOTSUP/ { +!/(EDEADLOCK|EWOULDBLOCK|ENOTSUP)/ { printf " [%s] = \"%s\",\n", $1, $1 } END{ -- 2.25.1