]> err.no Git - systemd/commit
util: fix error checking after fgets()
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 2 Dec 2011 23:41:34 +0000 (00:41 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Sat, 3 Dec 2011 01:08:52 +0000 (02:08 +0100)
commit35d50f55f346c71fd5e957d35ebcae1c50b1f9ce
treef1053be62b68ec4813ee494e00377fdbc43f254c
parent91b684c7300879a8d2006038f7d9185d92c3c3bf
util: fix error checking after fgets()

fgets() does not set errno on EOF.
src/util.c