]> err.no Git - util-linux/commit
login-utils: cleanup strlen() and fgets() usage
authorJames Youngman <jay@gnu.org>
Sun, 6 Apr 2008 11:54:44 +0000 (12:54 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 7 Apr 2008 23:44:51 +0000 (01:44 +0200)
commit489374709c9ebbab8023711f0de449c0951455e0
tree729c84bfa8bc02cddcd216c2bed81dbbef83c350
parentbb98388557c7e68067b103c6654baa6a1614b392
login-utils: cleanup strlen() and fgets() usage

The strlen() returns size_t, not int. The fgets() returns
pointer, not int.

Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/islocal.c