diff options
Diffstat (limited to 'libc/stdlib/ptsname.c')
-rw-r--r-- | libc/stdlib/ptsname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/ptsname.c b/libc/stdlib/ptsname.c index 2fbc6be49..fd50da047 100644 --- a/libc/stdlib/ptsname.c +++ b/libc/stdlib/ptsname.c @@ -145,7 +145,7 @@ int ptsname_r (int fd, char *buf, size_t buflen) p[2] = '\0'; } - if (_xstat (_STAT_VER, buf, &st) < 0) + if (__xstat (_STAT_VER, buf, &st) < 0) return errno; /* Check if the name we're about to return really corresponds to a |