]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Port who(1) to utmpx.
authorEd Schouten <ed@FreeBSD.org>
Sat, 5 Dec 2009 20:44:19 +0000 (20:44 +0000)
committerEd Schouten <ed@FreeBSD.org>
Sat, 5 Dec 2009 20:44:19 +0000 (20:44 +0000)
commitb911cea8ffcdc1c13cdc9de291944d97b8182828
tree0a1bb75ace587fdb6ce1460a34fc40df06aa2889
parent88f2d72947d6abff4f5bcd703ae10ec24be24c21
Port who(1) to utmpx.

(Un)fortunately there is no standardized interface to switch between
utmp database files, so we must call ulog_setutxfile() here.

I'm also changing the column widths to magic numbers here. Display
layout should in this case not be derived from structure fields sizes.
Because I don't want struct utmpx ever to become too small, the fields
are too big to reserve all the space.
usr.bin/who/Makefile
usr.bin/who/who.c