universal7885: fixup errors

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2021-12-14 14:11:55 +09:00
commit c4f1f10454
No known key found for this signature in database
GPG key ID: 9675C32163D88D30

View file

@ -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;
}
}