about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/errnos.awk
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/errnos.awk')
-rw-r--r--sysdeps/mach/hurd/errnos.awk2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/errnos.awk b/sysdeps/mach/hurd/errnos.awk
index 24a01ba935..5c88d11210 100644
--- a/sysdeps/mach/hurd/errnos.awk
+++ b/sysdeps/mach/hurd/errnos.awk
@@ -55,6 +55,8 @@ errnoh == 2 && $1 == "@deftypevr"  && $2 == "Macro" && $3 == "int" \
 
 errnoh == 3 && $1 == "@comment" && $2 == "errno" {
     errno = $3 + 0;
+    if (errno == 0)
+      next;
     if (errno > maxerrno) maxerrno = errno;
     if (e == "EWOULDBLOCK")
       {