netd: Rename LOGI/LOGE to ALOGI/ALOGE
The merge from ics-mr1 branch pulled in some oldschool LOGE/LOGI calls.
Change-Id: I3c452198375c4cdce085307e844f1d6aa491225b
diff --git a/oem_iptables_hook.cpp b/oem_iptables_hook.cpp
index e50ea6a..321c5f4 100644
--- a/oem_iptables_hook.cpp
+++ b/oem_iptables_hook.cpp
@@ -36,7 +36,7 @@
int res;
if (len == 255) {
- LOGE("command too long");
+ ALOGE("command too long");
return -1;
}
@@ -94,7 +94,7 @@
static bool oemInitChains() {
int ret = system(OEM_SCRIPT_PATH);
if ((-1 == ret) || (0 != WEXITSTATUS(ret))) {
- LOGE("%s failed: %s", OEM_SCRIPT_PATH, strerror(errno));
+ ALOGE("%s failed: %s", OEM_SCRIPT_PATH, strerror(errno));
oemCleanupHooks();
return false;
}
@@ -108,7 +108,7 @@
// but is needed for the case where netd has crashed/stopped and is
// restarted.
if (oemCleanupHooks() && oemSetupHooks() && oemInitChains()) {
- LOGI("OEM iptable hook installed.");
+ ALOGI("OEM iptable hook installed.");
}
}
}