Make MagiskHide work without magisk.img

This commit is contained in:
topjohnwu
2017-09-06 02:25:40 +08:00
parent 0bf404f75e
commit eceba26894
6 changed files with 47 additions and 28 deletions

View File

@@ -70,7 +70,7 @@ int file_to_vector(const char* filename, struct vector *v) {
size_t len = 0;
ssize_t read;
FILE *fp = fopen(filename, "r");
FILE *fp = xfopen(filename, "r");
if (fp == NULL)
return 1;