diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-04-01 00:45:57 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-04-01 00:45:57 +0000 |
commit | f966cc48107d924f430dbd763bf470ee2ebaf0d1 (patch) | |
tree | de05b4d13d7547bce0509f2bc50dac320c4edaca /serprog.c | |
parent | 79587f565f59b2769dfb3a9550bab9de34287f86 (diff) | |
download | flashrom-f966cc48107d924f430dbd763bf470ee2ebaf0d1.tar.gz flashrom-f966cc48107d924f430dbd763bf470ee2ebaf0d1.tar.bz2 flashrom-f966cc48107d924f430dbd763bf470ee2ebaf0d1.zip |
serial.c: be more pedantic
Check more return codes and close the file handle in case of errors in
sp_openserport().
Corresponding to flashrom svn r1664.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'serprog.c')
0 files changed, 0 insertions, 0 deletions