about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/ptsname.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/ptsname.c')
-rw-r--r--sysdeps/mach/hurd/ptsname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/ptsname.c b/sysdeps/mach/hurd/ptsname.c
index 9627f970f9..065ba2a268 100644
--- a/sysdeps/mach/hurd/ptsname.c
+++ b/sysdeps/mach/hurd/ptsname.c
@@ -63,7 +63,7 @@ __ptsname_internal (int fd, char *buf, size_t buflen, struct stat64 *stp)
 
   if (stp)
     {
-      if (__xstat64 (_STAT_VER, peername, stp) < 0)
+      if (__stat64 (peername, stp) < 0)
 	return errno;
     }