mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 12:05:30 +00:00
Fix debug message
This commit is contained in:
parent
7058c8ff5a
commit
10c8ea17aa
@ -133,7 +133,7 @@ void ps(void (*func)(int)) {
|
||||
func(atoi(entry->d_name));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
closedir(dir);
|
||||
}
|
||||
|
||||
@ -183,7 +183,7 @@ int create_links(const char *bin, const char *path) {
|
||||
|
||||
#define DEV_BLOCK "/dev/block"
|
||||
|
||||
void unlock_blocks() {
|
||||
void unlock_blocks() {
|
||||
char path[PATH_MAX];
|
||||
DIR *dir;
|
||||
struct dirent *entry;
|
||||
@ -280,7 +280,7 @@ int mkdir_p(const char *pathname, mode_t mode) {
|
||||
|
||||
int bind_mount(const char *from, const char *to) {
|
||||
int ret = xmount(from, to, NULL, MS_BIND, NULL);
|
||||
#ifdef DEBUG
|
||||
#ifdef MAGISK_DEBUG
|
||||
LOGD("bind_mount: %s -> %s\n", from, to);
|
||||
#else
|
||||
LOGI("bind_mount: %s\n", to);
|
||||
|
Loading…
Reference in New Issue
Block a user