diff options
| author | 2010-06-01 19:55:01 -0700 | |
|---|---|---|
| committer | 2010-06-01 19:55:01 -0700 | |
| commit | 89bc1395748a0a139db82adbf01166ed6fa79766 (patch) | |
| tree | 75dc7b61d605847df777139daceefd72866c46b0 /libs/rs/rsScriptC.cpp | |
| parent | de56c27dab020bf85187c8bcfc6842cb31006c59 (diff) | |
| parent | a80ce06d4c54e43243073f8ceff024f9dda7140e (diff) | |
Merge "Add more error checking for ndc" into froyo
Diffstat (limited to 'libs/rs/rsScriptC.cpp')
| -rw-r--r-- | libs/rs/rsScriptC.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp index 1f2377309a8f..f4d24516c08a 100644 --- a/libs/rs/rsScriptC.cpp +++ b/libs/rs/rsScriptC.cpp @@ -159,7 +159,7 @@ void ScriptCState::runCompiler(Context *rsc, ScriptC *s) ACCchar buf[4096]; ACCsizei len; accGetScriptInfoLog(s->mAccScript, sizeof(buf), &len, buf); - LOGE(buf); + LOGE("%s", buf); rsc->setError(RS_ERROR_BAD_SCRIPT, "Error compiling user script."); return; } @@ -345,7 +345,7 @@ void ScriptCState::appendTypes(const Context *rsc, String8 *str) s.append(e->getName()); s.append("\n\n"); if (rsc->props.mLogScripts) { - LOGV(s); + LOGV("%s", static_cast<const char*>(s)); } str->append(s); } @@ -372,7 +372,7 @@ void ScriptCState::appendTypes(const Context *rsc, String8 *str) s.append(mSlotNames[ct]); s.append(";\n"); if (rsc->props.mLogScripts) { - LOGV(s); + LOGV("%s", static_cast<const char*>(s)); } str->append(s); } |