From e448ce9c2a56d23037488b303c0fdbdc6b5cfe78 Mon Sep 17 00:00:00 2001 From: Joshua Brindle Date: Tue, 10 Jul 2012 10:22:09 -0400 Subject: [PATCH] s/LOGE/ALOGE/ in HAVE_SELINUX blocks The latest push changed LOGE to ALOGE but it was not updated in HAVE_SELINUX blocks. Change-Id: If64c6beeb1d7c24e1b610acb8ccb195e00c777da Signed-off-by: Joshua Brindle --- vm/native/dalvik_system_Zygote.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vm/native/dalvik_system_Zygote.cpp b/vm/native/dalvik_system_Zygote.cpp index 8fbe857a2..28d8d2d35 100644 --- a/vm/native/dalvik_system_Zygote.cpp +++ b/vm/native/dalvik_system_Zygote.cpp @@ -413,7 +413,7 @@ static pid_t forkAndSpecializeCommon(const u4* args, bool isSystemServer) if (seInfoObj) { seInfo = dvmCreateCstrFromString(seInfoObj); if (!seInfo) { - LOGE("seInfo dvmCreateCstrFromString failed"); + ALOGE("seInfo dvmCreateCstrFromString failed"); dvmAbort(); } } @@ -421,7 +421,7 @@ static pid_t forkAndSpecializeCommon(const u4* args, bool isSystemServer) if (niceNameObj) { niceName = dvmCreateCstrFromString(niceNameObj); if (!niceName) { - LOGE("niceName dvmCreateCstrFromString failed"); + ALOGE("niceName dvmCreateCstrFromString failed"); dvmAbort(); } } @@ -513,7 +513,7 @@ static pid_t forkAndSpecializeCommon(const u4* args, bool isSystemServer) #ifdef HAVE_SELINUX err = setSELinuxContext(uid, isSystemServer, seInfo, niceName); if (err < 0) { - LOGE("cannot set SELinux context: %s\n", strerror(errno)); + ALOGE("cannot set SELinux context: %s\n", strerror(errno)); dvmAbort(); } // These free(3) calls are safe because we know we're only ever forking -- 2.11.0