about summary refs log tree commit diff
path: root/inet/herrno.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/herrno.c')
-rw-r--r--inet/herrno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/herrno.c b/inet/herrno.c
index 312760e81d..d20c96cb3c 100644
--- a/inet/herrno.c
+++ b/inet/herrno.c
@@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 /* We need to have the error status variable of the resolver
    accessible in the libc.  */
-int __h_errno;
+int __h_errno = 0;
 strong_alias (__h_errno, h_errno)
 
 /* When threaded, h_errno may be a per-process variable.  */