1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

errno-to-awk: simplify expression

No functional change.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-03-22 14:02:47 +01:00
parent dba8ef106e
commit 16568fd336

View File

@ -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{