Skip to content
Snippets Groups Projects
Commit 4ff6c598 authored by Leah Rowe's avatar Leah Rowe
Browse files

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: default avatarLeah Rowe <leah@libreboot.org>
parent 3798e5ad
No related merge requests found
...@@ -39,7 +39,7 @@ main(int argc, char *argv[]) ...@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment