The last commit broke ttyname(), which broke ssh -1. Fix that, plus
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 2 Feb 2005 05:42:01 +0000 (05:42 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 2 Feb 2005 05:42:01 +0000 (05:42 +0000)
commit12f6c0b5986606602565f37c2e85086945fe78ea
tree7cd0e450a70012fa832e25fa63ceb93908f43282
parent97757d9b8ed033163dad2d0c4ab32a06b6c3a713
The last commit broke ttyname(), which broke ssh -1.  Fix that, plus
cleanup a static variable overloading of the name 'buf' to avoid confusion.

Reported-by: Steve Mynott, Peter Avalos
lib/libc/gen/ttyname.c