From 550be6cdb0585fb7c5ec32d583b40ab6ef5daed1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 13 Dec 1998 14:52:55 +0000 Subject: Update. 1998-12-13 Ulrich Drepper * sysdeps/posix/tempname.c: Use __xstat instead of __stat. * sysdeps/unix/grantpt.c: Likewise. * sysdeps/unix/sysv/linux/ptsname.c: Likewise. * sysvipc/ftok.c: Likewise. Patch by Franz Sirl . --- sysdeps/unix/grantpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix/grantpt.c') diff --git a/sysdeps/unix/grantpt.c b/sysdeps/unix/grantpt.c index 76bda071e7..df155eb23e 100644 --- a/sysdeps/unix/grantpt.c +++ b/sysdeps/unix/grantpt.c @@ -109,7 +109,7 @@ grantpt (int fd) if (pts_name (fd, &buf, sizeof (_buf))) return -1; - if (__stat (buf, &st) < 0) + if (__xstat (_STAT_VER, buf, &st) < 0) goto cleanup; /* Make sure that we own the device. */ -- cgit v1.2.3