summaryrefslogtreecommitdiff
path: root/libc/stdlib/ptsname.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-13 11:35:31 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-13 11:35:31 +0000
commit3c84ded68a9106ac87886e173e75dd3dde33c231 (patch)
treedcc90d017e2c77b98d3753d470adfa576d36149c /libc/stdlib/ptsname.c
parent4d668e00b8c42aca5662f1d65496a97a507f583f (diff)
Convert internal users of chmod/*stat*, minimize change for __strsep
Diffstat (limited to 'libc/stdlib/ptsname.c')
-rw-r--r--libc/stdlib/ptsname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/ptsname.c b/libc/stdlib/ptsname.c
index c56f18a91..8e18e3989 100644
--- a/libc/stdlib/ptsname.c
+++ b/libc/stdlib/ptsname.c
@@ -136,7 +136,7 @@ int attribute_hidden __ptsname_r (int fd, char *buf, size_t buflen)
return ERANGE;
}
- if (fstat (fd, &st) < 0)
+ if (__fstat (fd, &st) < 0)
return errno;
/* Check if FD really is a master pseudo terminal. */
@@ -165,7 +165,7 @@ int attribute_hidden __ptsname_r (int fd, char *buf, size_t buflen)
p[2] = '\0';
}
- if (stat(buf, &st) < 0)
+ if (__stat(buf, &st) < 0)
return errno;
/* Check if the name we're about to return really corresponds to a