Commit c42ee6ec authored by yangql's avatar yangql
Browse files

增加对dtk24.04.1的支持,以及对k100_AI的支持。

parent 43bee844
......@@ -679,9 +679,9 @@ static std::vector<std::string> SplitString(std::string str, std::string separat
// process
double process = (1.0*(i + 1) / fileNameList.size()) * 100;
printf("%s done! %f% \n", GetFileName(fileNameList[i]).c_str(), process);
printf("%s done! %f \n", GetFileName(fileNameList[i]).c_str(), process);
}
printf("all done!(the number of files:%d)\n", fileNameList.size());
printf("all done!(the number of files:%zu)\n", fileNameList.size());
return true;
......
......@@ -164,7 +164,7 @@ inline LogTime GetTime()
gettimeofday(&tv, NULL);
p = localtime(&tv.tv_sec);
char temp[8]={0};
char temp[12]={0};
sprintf(temp,"%04d",1900+p->tm_year);
currentTime.year=string(temp);
sprintf(temp,"%02d",1+p->tm_mon);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment