summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw_user.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-06 01:10:30 +0000
committered <ed@FreeBSD.org>2009-12-06 01:10:30 +0000
commit8b1e41b7e2b6f4279698ec2ad776fc1a6aa2f2a2 (patch)
treeec7d4b456ea84cdc38d59b7227bbd05382061414 /usr.sbin/pw/pw_user.c
parent6a3018e7cff16ab166672e276b4b39154ad09739 (diff)
downloadFreeBSD-src-8b1e41b7e2b6f4279698ec2ad776fc1a6aa2f2a2.zip
FreeBSD-src-8b1e41b7e2b6f4279698ec2ad776fc1a6aa2f2a2.tar.gz
Let w(1) use utmpx.
We don't have UT_*SIZE anymore. One of the reasons for that is because all strings are null terminated, there is no need for apps to copy strings out of the utmpx structure. This means we can define W_DISP*SIZE lengths for all columns. While there, adjust the sizes a little. Steal some bytes from the username column, while extending the hostname column quite a bit.
Diffstat (limited to 'usr.sbin/pw/pw_user.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud