mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-20 15:03:44 +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))
|
while (!feof(stdin))
|
||||||
print_chars();
|
print_chars();
|
||||||
|
|
||||||
return 0;
|
return errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user