diff options
Diffstat (limited to 'sysdeps/mach/hurd/ifreq.c')
-rw-r--r-- | sysdeps/mach/hurd/ifreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/ifreq.c b/sysdeps/mach/hurd/ifreq.c index 394d020cf0..eec7dd8056 100644 --- a/sysdeps/mach/hurd/ifreq.c +++ b/sysdeps/mach/hurd/ifreq.c @@ -54,7 +54,7 @@ __ifreq (struct ifreq **ifreqs, int *num_ifs, int sockfd) if (len % sizeof (struct ifreq) != 0) { __munmap (data, len); - errno = EGRATUITOUS; + __hurd_fail (EGRATUITOUS); goto out; } *num_ifs = len / sizeof (struct ifreq); |