mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
util/spkmodem_recv: Return errno in main
This is a good general practise, to catch errors. Any errors found can then be handled in code. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -39,7 +39,7 @@ main(int argc, char *argv[])
|
||||
while (!feof(stdin))
|
||||
print_chars();
|
||||
|
||||
return 0;
|
||||
return errno;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user