mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: fixup errors
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
439e02b93b
commit
c4f1f10454
1 changed files with 3 additions and 3 deletions
|
|
@ -23,13 +23,13 @@
|
|||
#include <iostream>
|
||||
|
||||
bool check_data(){
|
||||
std::ifstream datafile(CHECK_KMSG);
|
||||
std::ifstream datafile(CHECK_LOGCAT);
|
||||
if(datafile.good()){
|
||||
datafile.close();
|
||||
ALOGI("Found %s, logging...", CHECK_KMSG);
|
||||
ALOGI("Found %s, logging...", CHECK_LOGCAT);
|
||||
return true;
|
||||
}else{
|
||||
ALOGW("Couldn't find %s, not logging...", CHECK_KMSG);
|
||||
ALOGW("Couldn't find %s, not logging...", CHECK_LOGCAT);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue