Reduce duplicate code for MagiskBoot

This commit is contained in:
topjohnwu
2017-04-28 21:48:38 +08:00
parent 62fe92d922
commit d3d5703f3f
15 changed files with 145 additions and 129 deletions

View File

@ -87,5 +87,5 @@ void parse_img(unsigned char *orig, size_t size) {
continue;
}
}
error(1, "No boot image magic found!");
LOGE(1, "No boot image magic found!\n");
}