Avoid the chdir entirely by prefixing _PATH_DEV to the tty name when
authormillert <millert@openbsd.org>
Wed, 22 Mar 2000 17:07:37 +0000 (17:07 +0000)
committermillert <millert@openbsd.org>
Wed, 22 Mar 2000 17:07:37 +0000 (17:07 +0000)
commit2e229633a55447959a5100bd78a8eef23163b5d2
treed27f9c72a978818ef7181d1a8af256bcd5780038
parent9a55869f149f3e4c3e06c056c7b19100d43e87a0
Avoid the chdir entirely by prefixing _PATH_DEV to the tty name when
doing a stat.  This makes the -T and -u flags work in confunction with
a file argument.
usr.bin/who/who.c