OSDN Git Service

Fix log macro name
authorSelim Gurun <sgurun@google.com>
Fri, 13 Jan 2012 20:54:39 +0000 (12:54 -0800)
committerSelim Gurun <sgurun@google.com>
Fri, 13 Jan 2012 20:54:39 +0000 (12:54 -0800)
Convert LOGW to ALOGW.

Change-Id: I4096541cfb6f76d6ab3af289288c840f87125dfa

vm/native/dalvik_system_Zygote.cpp

index cbc6303..108189c 100644 (file)
@@ -450,7 +450,7 @@ static pid_t forkAndSpecializeCommon(const u4* args, bool isSystemServer)
         int current = personality(0xffffFFFF);
         int success = personality((ADDR_NO_RANDOMIZE | current));
         if (success == -1) {
-          LOGW("Personality switch failed. current=%d error=%d\n", current, errno);
+          ALOGW("Personality switch failed. current=%d error=%d\n", current, errno);
         }
 
         err = setCapabilities(permittedCapabilities, effectiveCapabilities);