]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lslogins: make --notruncate more robust
authorKarel Zak <kzak@redhat.com>
Wed, 16 Jul 2014 09:25:03 +0000 (11:25 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 16 Jul 2014 09:25:03 +0000 (11:25 +0200)
commitbdba3fd9b503041c50f3a4bdcc1852b7f57cd786
tree2c0e226d283ca25ec69c8311f9efa7269ce3e2c4
parent4b6ae07123ce4ad3fbcf381db7961195f47f577c
lslogins: make --notruncate more robust

 - keep coldescs[] read-only
 - don't expect that only COL_GECOS uses truncate flag

Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/lslogins.c