diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2012-01-23 13:56:58 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-01-23 13:56:58 -0800 |
commit | 81c0c9648d8bdaafde6e8e407dce90c21aa115e9 (patch) | |
tree | e793d28c59e05dad38ad3a37192e4260f62f18f6 /sysdeps/mach/hurd | |
parent | d220b1177777a2cd00d1b1eae62e1071a17ab46b (diff) | |
download | glibc-81c0c9648d8bdaafde6e8e407dce90c21aa115e9.zip glibc-81c0c9648d8bdaafde6e8e407dce90c21aa115e9.tar.gz glibc-81c0c9648d8bdaafde6e8e407dce90c21aa115e9.tar.bz2 |
Hurd: socket uses EAFNOSUPPORT rather than EPFNOSUPPORT.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/socket.c b/sysdeps/mach/hurd/socket.c index a707ed9..3d9f5b0 100644 --- a/sysdeps/mach/hurd/socket.c +++ b/sysdeps/mach/hurd/socket.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. +/* Copyright (C) 1992-1998,2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -57,7 +57,7 @@ __socket (domain, type, protocol) isn't supported. */ if (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED || err == MIG_BAD_ID || err == EOPNOTSUPP) - err = EPFNOSUPPORT; + err = EAFNOSUPPORT; if (err) return __hurd_fail (err); |