summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/socketpair.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/socketpair.c')
-rw-r--r--sysdeps/mach/hurd/socketpair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/socketpair.c b/sysdeps/mach/hurd/socketpair.c
index 85e0f7400b..3b18c676c0 100644
--- a/sysdeps/mach/hurd/socketpair.c
+++ b/sysdeps/mach/hurd/socketpair.c
@@ -82,7 +82,7 @@ __socketpair (int domain, int type, int protocol, int fds[2])
if (d2 < 0)
{
err = errno;
- (void) close (d1);
+ (void) __close (d1);
return __hurd_fail (err);
}