Commit 78d7e0e8 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra

eb-upload: failure to seek is fatal

parent 1a02f0b7
...@@ -266,6 +266,7 @@ int main(int argc, char** argv) { ...@@ -266,6 +266,7 @@ int main(int argc, char** argv) {
if (fseeko(firmware_f, 0, SEEK_END) != 0) { if (fseeko(firmware_f, 0, SEEK_END) != 0) {
fprintf(stderr, "%s: fseeko, %s -- '%s'\n", fprintf(stderr, "%s: fseeko, %s -- '%s'\n",
program, strerror(errno), firmware); program, strerror(errno), firmware);
return 1;
} }
firmware_length = ftello(firmware_f); firmware_length = ftello(firmware_f);
......
Markdown is supported
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