forked from LineageOS/android_system_core
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
d240187
commit ad1a0a9
Showing
1 changed file
with
42 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters