summaryrefslogtreecommitdiffstats
path: root/login-utils/utmpdump.c
diff options
context:
space:
mode:
authorRuediger Meier2016-12-01 09:52:06 +0100
committerKarel Zak2016-12-07 12:35:24 +0100
commit77f5a945868e9a2bf9fe71bfdbe8bf54a2441699 (patch)
tree20ca2f4c50e3f4304be011b678af772724e3ca71 /login-utils/utmpdump.c
parentlogin-utils: remove _HAVE_UT_TV fallback (diff)
downloadkernel-qcow2-util-linux-77f5a945868e9a2bf9fe71bfdbe8bf54a2441699.tar.gz
kernel-qcow2-util-linux-77f5a945868e9a2bf9fe71bfdbe8bf54a2441699.tar.xz
kernel-qcow2-util-linux-77f5a945868e9a2bf9fe71bfdbe8bf54a2441699.zip
lslogins: remove useless strlen()
strlen() is not smarter than strncpy(). Bytes that follow a null byte are not compared anyway. BTW avoid using the defined sizes. CC: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'login-utils/utmpdump.c')
0 files changed, 0 insertions, 0 deletions