]> err.no Git - util-linux/commit
login: fix "ignoring return value" errors
authorKarel Zak <kzak@redhat.com>
Fri, 10 Dec 2010 13:05:27 +0000 (14:05 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 10 Dec 2010 13:05:27 +0000 (14:05 +0100)
commit11784a84423ee79c6411163e187f30faea270512
treeb51dfbee0c06ad7f3eb0f2b16cc36262e6d1d417
parent66020e56d2888f59aef577a90761014e202383f0
login: fix "ignoring return value" errors

login.c:542:8: warning: ignoring return value of ‘fchown’, declared
with attribute warn_unused_result
login.c:1013:11: warning: ignoring return value of ‘fchown’, declared
with attribute warn_unused_result
login.c: In function ‘dolastlog’:
login.c:1452:7: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result
login.c: In function ‘motd’:
login.c:1391:7: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result

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