mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 12:05:32 -04:00
universal7885: debug_daemon: fix duplicate symbols
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
7db5c03bac
commit
941eae5af8
2 changed files with 4 additions and 4 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#include <log/log.h>
|
||||
#include <fstream>
|
||||
|
||||
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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue