summaryrefslogtreecommitdiff
path: root/resources/u-boot/gru_bob
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-06-04 15:33:23 +0100
committerLeah Rowe <leah@libreboot.org>2023-06-04 15:33:23 +0100
commit212ce3a8acf41acbcc9b839c37b9e89e4e7754b1 (patch)
tree547141dbed43cb1684f86f046b7f4a5d1fb35a95 /resources/u-boot/gru_bob
parent9a6d290871a951a420f9eeb77bf22365c6ca4433 (diff)
util/spkmodem-recv: warn on unhandled exit error
my style of C programming is this: always return errno upon exit from the program, or from a thread. handle errno in the calling/forking function. returning errno at the end of main has this intention: if an unhandled error occured, the program exits with non-zero status. a correctly written program should *never* return non-zero at the end of main, and if it does, this indicates a bug in the code (per my code style / philosophy). so, warn the user with a message if this occurs. the intention is that this message should never be printed. do not use assert() for this. i don't believe in that. such a test should always be present, for everyone. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/u-boot/gru_bob')
0 files changed, 0 insertions, 0 deletions