]> err.no Git - util-linux/commit
simmpleinit: fix gcc warning (buffer size in read())
authorKarel Zak <kzak@redhat.com>
Tue, 3 Mar 2009 14:31:39 +0000 (15:31 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Mar 2009 14:31:39 +0000 (15:31 +0100)
commite682ce7d6186b8e8aa55f584bff10b25fcb2ef3e
tree6f2c2ac9ad8546fc227f4a2290baf1c8c57e8f77
parent0d761944dd1130c81ec770ed318ae7ed3338c702
simmpleinit: fix gcc warning (buffer size in read())

simpleinit.c:846:
/usr/include/bits/unistd.h:43  warning: call to ‘__read_chk_warn’
declared with attribute warning: read called with bigger length than
size of the destination buffer

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