commit | ad1a0a9b0b005a451e5bcb2aad4b602d695cc3d4 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Jan 12 04:26:52 2023 +0000 |
committer | Elliott Hughes <enh@google.com> | Thu Jan 12 04:34:15 2023 +0000 |
tree | 819e159fcb6c83673f621fe5b9237e867eef5337 | |
parent | d2401873f2ab0a3cda4a61e961cb8b6bb4434ebc [diff] |
mkbootfs: consistency. Move all the error reporting over to err()/errx() rather than the current mix of errx(), fprintf()+exit(), and the homebrew die(). Also make the two "read all the lines in the file" loops match, by copying the newer getline() style into the older fgets() loop. Test: treehugger Change-Id: Ia732df90588d7fd12dfe965e11c6ed72a96b098d