summaryrefslogtreecommitdiffstats
path: root/cmds/installd/installd.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/installd/installd.c')
-rw-r--r--cmds/installd/installd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmds/installd/installd.c b/cmds/installd/installd.c
index feb6b92..159bccb 100644
--- a/cmds/installd/installd.c
+++ b/cmds/installd/installd.c
@@ -200,7 +200,7 @@ static int execute(int s, char cmd[BUFFER_MAX])
unsigned short count;
int ret = -1;
-// LOGI("execute('%s')\n", cmd);
+// ALOGI("execute('%s')\n", cmd);
/* default reply is "" */
reply[0] = 0;
@@ -242,7 +242,7 @@ done:
if (n > BUFFER_MAX) n = BUFFER_MAX;
count = n;
-// LOGI("reply: '%s'\n", cmd);
+// ALOGI("reply: '%s'\n", cmd);
if (writex(s, &count, sizeof(count))) return -1;
if (writex(s, cmd, count)) return -1;
return 0;
@@ -380,7 +380,7 @@ int main(const int argc, const char *argv[]) {
}
fcntl(s, F_SETFD, FD_CLOEXEC);
- LOGI("new connection\n");
+ ALOGI("new connection\n");
for (;;) {
unsigned short count;
if (readx(s, &count, sizeof(count))) {
@@ -398,7 +398,7 @@ int main(const int argc, const char *argv[]) {
buf[count] = 0;
if (execute(s, buf)) break;
}
- LOGI("closing connection\n");
+ ALOGI("closing connection\n");
close(s);
}