Use user_from_uid(3) if getlogin(2) fails, storing the uid as a
authormillert <millert@openbsd.org>
Tue, 18 Sep 2018 03:10:53 +0000 (03:10 +0000)
committermillert <millert@openbsd.org>
Tue, 18 Sep 2018 03:10:53 +0000 (03:10 +0000)
commite87b432fb4950076cc450196c0c2f8e9c22df32d
treedacb8ea1f6ea7194ab4cabaf1c083f965f98244d
parent147c695943c78482a34871dfa76759d332bf347b
Use user_from_uid(3) if getlogin(2) fails, storing the uid as a
string if there is no passwd entry.  OK tb@
usr.bin/write/write.c