diff --git a/universal7885-common/debug/Kmsg.cpp b/universal7885-common/debug/Kmsg.cpp index 43e68d3..ab9ca31 100644 --- a/universal7885-common/debug/Kmsg.cpp +++ b/universal7885-common/debug/Kmsg.cpp @@ -22,7 +22,7 @@ #include #include -bool check_data() { +bool check_data_kmsg() { std::ifstream datafile(CHECK_KMSG); if (datafile.good()) { datafile.close(); @@ -35,7 +35,7 @@ bool check_data() { } void copy_kmsg() { - if (check_data()) { + if (check_data_kmsg()) { std::ifstream readfile(KMSG_PATH); std::ofstream writefile(WRITE_KMSG); writefile << readfile.rdbuf(); diff --git a/universal7885-common/debug/Logcat.cpp b/universal7885-common/debug/Logcat.cpp index 2dbd6a1..5d8d6b8 100644 --- a/universal7885-common/debug/Logcat.cpp +++ b/universal7885-common/debug/Logcat.cpp @@ -22,7 +22,7 @@ #include #include -bool check_data() { +bool check_data_logcat() { std::ifstream datafile(CHECK_LOGCAT); if (datafile.good()) { datafile.close(); @@ -35,7 +35,7 @@ bool check_data() { } void copy_logcat() { - if (check_data()) { + if (check_data_logcat()) { system("/system/bin/logcat -f /data/debug/logs/logcat.txt"); } }