Generalize logging interface

This commit is contained in:
topjohnwu
2018-09-27 03:11:10 -04:00
parent 12ced52012
commit df8b047bca
20 changed files with 170 additions and 83 deletions

View File

@@ -391,6 +391,7 @@ static void syntax_error_msg() {
}
int magiskpolicy_main(int argc, char *argv[]) {
cmdline_logging();
char *outfile = NULL, *tok, *saveptr;
int magisk = 0;
struct vector rules;