make proper use of fstatat, as suggested by guenther@
authorespie <espie@openbsd.org>
Mon, 27 Jun 2016 16:52:30 +0000 (16:52 +0000)
committerespie <espie@openbsd.org>
Mon, 27 Jun 2016 16:52:30 +0000 (16:52 +0000)
commit4eec04afc3730282d2e54e2ec3e899f7d7bc4878
treeab65fdb9caf32f92d1e058cf178d73b57aef786e
parent148fe63533d5e7c1614f6f84cfd88bf203817597
make proper use of fstatat, as suggested by guenther@
okay millert@
lib/libc/gen/ttyname.c