When isatty() was switched to F_ISATTY, the inline copy in ttyname()
authornaddy <naddy@openbsd.org>
Mon, 12 Oct 2015 19:53:58 +0000 (19:53 +0000)
committernaddy <naddy@openbsd.org>
Mon, 12 Oct 2015 19:53:58 +0000 (19:53 +0000)
commit700ad8903a84996aa5be3b7e302c0093c903dd2f
tree5f2f1d659ff4b5eea571abf3ba81e26cecbd8e69
parent1c4a9ba6222fa3b2381c98dc87f2a6fa2b421e54
When isatty() was switched to F_ISATTY, the inline copy in ttyname()
was forgotten.  Just call isatty().  ok deraadt@
lib/libc/gen/ttyname.c