Fix warning in Android camera code

This commit is contained in:
Andrey Kamaev 2012-09-10 19:44:59 +04:00
parent 36f912261b
commit a201233b59

View File

@ -272,7 +272,7 @@ std::string CameraWrapperConnector::getDefaultPathLibFolder()
{
char path[128];
sprintf(path, "/data/data/org.opencv.lib_v%d%d_%s/lib/", CV_MAJOR_VERSION, CV_MINOR_VERSION, packageList[i].c_str());
LOGD("Trying package \"%s\" (\"%s\")", packageList[i], path);
LOGD("Trying package \"%s\" (\"%s\")", packageList[i].c_str(), path);
DIR* dir = opendir(path);
if (!dir)