Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
diff --git a/core/jni/android_net_TrafficStats.cpp b/core/jni/android_net_TrafficStats.cpp
index 7a61432..0ab659b 100644
--- a/core/jni/android_net_TrafficStats.cpp
+++ b/core/jni/android_net_TrafficStats.cpp
@@ -47,13 +47,13 @@
char buf[80];
int fd = open(filename, O_RDONLY);
if (fd < 0) {
- if (errno != ENOENT) LOGE("Can't open %s: %s", filename, strerror(errno));
+ if (errno != ENOENT) ALOGE("Can't open %s: %s", filename, strerror(errno));
return -1;
}
int len = read(fd, buf, sizeof(buf) - 1);
if (len < 0) {
- LOGE("Can't read %s: %s", filename, strerror(errno));
+ ALOGE("Can't read %s: %s", filename, strerror(errno));
close(fd);
return -1;
}
@@ -101,7 +101,7 @@
char filename[PATH_MAX] = "/sys/class/net/";
DIR *dir = opendir(filename);
if (dir == NULL) {
- LOGE("Can't list %s: %s", filename, strerror(errno));
+ ALOGE("Can't list %s: %s", filename, strerror(errno));
return -1;
}