mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 13:17:39 +02:00
Cleanup and small fixes
This commit is contained in:
@ -168,6 +168,7 @@ void cpio_ln(struct vector *v, const char *target, const char *entry) {
|
||||
cpio_entry *f = xcalloc(sizeof(*f), 1);
|
||||
f->mode = S_IFLNK;
|
||||
f->filename = strdup(entry);
|
||||
f->filesize = strlen(target) + 1;
|
||||
f->data = strdup(target);
|
||||
cpio_vec_insert(v, f);
|
||||
fprintf(stderr, "Create symlink [%s] -> [%s]\n", entry, target);
|
||||
|
Reference in New Issue
Block a user