diff options
Diffstat (limited to 'libc')
-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 dfb0d19db..cff743200 100644 --- a/libc/stdlib/ptsname.c +++ b/libc/stdlib/ptsname.c @@ -129,7 +129,7 @@ int ptsname_r (int fd, char *buf, size_t buflen) return ENOTTY; } #else -# if !defined TIOCGPTN +# if defined TIOCGPTN else if (errno == EINVAL) # endif { |