compiled and tested on sparc64, amd64
Without the patch:
root@host-251: finger
Login Name TTY Idle Login Time Office Phone
lidl Kurt Lidl pts/0 Feb 26 22:59 +1-xxx-yy
lidl Kurt Lidl pts/1 Mar 3 22:22 +1-xxx-yy
With the patch:
root@host-256: /usr/obj/usr/src/usr.bin/finger/finger
Login Name TTY Idle Login Time Office Phone
lidl Kurt Lidl pts/0 Feb 26 22:59 +1-xxx-yyy-zzzz
lidl Kurt Lidl pts/1 Mar 3 22:22 +1-xxx-yyy-zzzz