summaryrefslogtreecommitdiffstats
path: root/libcutils/sockets.c
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-06 14:13:42 +0000
committerSteve Block <steveblock@google.com>2012-01-08 11:03:26 +0000
commit01dda204cd28fe181691b4a44a51be7e5666d0c8 (patch)
tree99ef6d14b55ebf4e2752cd182052caad6eddc20a /libcutils/sockets.c
parent36afde3387fff9eac0e6d54854b8d43fe1ebb0cc (diff)
downloadsystem_core-01dda204cd28fe181691b4a44a51be7e5666d0c8.zip
system_core-01dda204cd28fe181691b4a44a51be7e5666d0c8.tar.gz
system_core-01dda204cd28fe181691b4a44a51be7e5666d0c8.tar.bz2
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
Bug: 5449033 Change-Id: Ibcffdcf620ebae1c389446ce8e9d908f11ac039c
Diffstat (limited to 'libcutils/sockets.c')
-rw-r--r--libcutils/sockets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcutils/sockets.c b/libcutils/sockets.c
index 101a382..b5a1b3d 100644
--- a/libcutils/sockets.c
+++ b/libcutils/sockets.c
@@ -30,12 +30,12 @@ bool socket_peer_is_trusted(int fd)
int n = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cr, &len);
if (n != 0) {
- LOGE("could not get socket credentials: %s\n", strerror(errno));
+ ALOGE("could not get socket credentials: %s\n", strerror(errno));
return false;
}
if ((cr.uid != AID_ROOT) && (cr.uid != AID_SHELL)) {
- LOGE("untrusted userid on other end of socket: userid %d\n", cr.uid);
+ ALOGE("untrusted userid on other end of socket: userid %d\n", cr.uid);
return false;
}
#endif