]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lslogins: cleanup fill_table()
authorKarel Zak <kzak@redhat.com>
Thu, 15 May 2014 11:35:08 +0000 (13:35 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 15 May 2014 11:56:00 +0000 (13:56 +0200)
commit5424d2a225091641cdced95487dad65f5ee0bb81
tree2d35e791ce7b0c7ce5520dde12a9bd0519ab79d0
parent3a016a536ba3bca8b99606895e895f284cab8bc3
lslogins: cleanup fill_table()

 * check xasprintf() return code is unnecessary
 * just check all scols_line_set_data() return codes on one place

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