diff options
author | Leah Rowe <leah@libreboot.org> | 2023-06-13 22:50:27 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-06-13 22:52:12 +0100 |
commit | 17cd0af9c127993bf2eadb87c561e05df3403362 (patch) | |
tree | edc215495d56ea01ccc972651861572023adb227 /.gitcheck | |
parent | a1758a7ab082944cbcd41d3fa4a547d4fc218601 (diff) |
util/spkmodem-recv: remove unnecessary error check
the loop in main() already checks EOF, and errno is
properly handled at the end of main()
we only need to call ferror(), to check error state
this fixes a bogus error message when pressing ctrl+D
to terminate the program, *which is the intended way
to terminate this program* (that, or EOF is reached
in any other another way)
do not treat intended behaviour as an error condition!
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to '.gitcheck')
0 files changed, 0 insertions, 0 deletions