summaryrefslogtreecommitdiffstats
path: root/src/basic/errno-to-name.awk
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-25 01:40:02 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-25 14:49:16 +0200
commitb884196cc1565eaf1b97141fbfa0667ee348e463 (patch)
tree9c61d74211ac9227af5ebc7061bd2f54ff4b200c /src/basic/errno-to-name.awk
parentmeson: add git-snapshot target (diff)
downloadsystemd-b884196cc1565eaf1b97141fbfa0667ee348e463.tar.xz
systemd-b884196cc1565eaf1b97141fbfa0667ee348e463.zip
meson: also indent scripts with 8 spaces
Diffstat (limited to 'src/basic/errno-to-name.awk')
-rw-r--r--src/basic/errno-to-name.awk11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/basic/errno-to-name.awk b/src/basic/errno-to-name.awk
index c48c8f93ab..0878abacbd 100644
--- a/src/basic/errno-to-name.awk
+++ b/src/basic/errno-to-name.awk
@@ -1,4 +1,9 @@
-BEGIN{ print "static const char* const errno_names[] = { " }
+BEGIN{
+ print "static const char* const errno_names[] = { "
+}
!/EDEADLOCK/ && !/EWOULDBLOCK/ && !/ENOTSUP/ {
- printf " [%s] = \"%s\",\n", $1, $1 }
-END{ print "};" }
+ printf " [%s] = \"%s\",\n", $1, $1
+}
+END{
+ print "};"
+}