make the fallback code more accurate (in particular, it should return names
authorespie <espie@openbsd.org>
Mon, 27 Jun 2016 06:10:04 +0000 (06:10 +0000)
committerespie <espie@openbsd.org>
Mon, 27 Jun 2016 06:10:04 +0000 (06:10 +0000)
commitbe02291ee05e867c05ef70cdf2c227b759dc8364
tree18c12bd9efdd3157ce641af27a61aaedb6f4ba2c
parent1ea6607aa6730da39d4a03ac83f0cea5e5559da5
make the fallback code more accurate (in particular, it should return names
based on the actual device, not any kind of inode equality which won't hold
for duplicates of the dev tree in a chroot)

no bump as it doesn't change any API.

okay and improvements guenther@
lib/libc/gen/ttyname.c