summaryrefslogtreecommitdiff
path: root/cmds/dumpstate
diff options
context:
space:
mode:
author Jean-Baptiste Queru <jbq@google.com> 2012-01-19 17:28:22 -0800
committer Android Git Automerger <android-git-automerger@android.com> 2012-01-19 17:28:22 -0800
commitdde686e2bdf7ea679dae4fd4edbf94c71802dc28 (patch)
tree6a2ea7e5a7d5a010adb25bf920dc41dee8243da8 /cmds/dumpstate
parenta1e873975704814416ee4d5023bf0740ec195ec0 (diff)
parent08d3c6e5ba5c3e5fcc386b07efa709325d45b9ff (diff)
am 08d3c6e5: am 4f367f33: Merge "Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)"
* commit '08d3c6e5ba5c3e5fcc386b07efa709325d45b9ff': Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)
Diffstat (limited to 'cmds/dumpstate')
-rw-r--r--cmds/dumpstate/dumpstate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index 395c28bbd89a..a07a408033bd 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -84,9 +84,9 @@ static void dumpstate() {
dump_file("BUDDYINFO", "/proc/buddyinfo");
if (screenshot_path[0]) {
- LOGI("taking screenshot\n");
+ ALOGI("taking screenshot\n");
run_command(NULL, 5, "su", "root", "screenshot", screenshot_path, NULL);
- LOGI("wrote screenshot: %s\n", screenshot_path);
+ ALOGI("wrote screenshot: %s\n", screenshot_path);
}
run_command("SYSTEM LOG", 20, "logcat", "-v", "threadtime", "-d", "*:v", NULL);
@@ -271,7 +271,7 @@ int main(int argc, char *argv[]) {
int use_socket = 0;
int do_fb = 0;
- LOGI("begin\n");
+ ALOGI("begin\n");
/* set as high priority, and protect from OOM killer */
setpriority(PRIO_PROCESS, 0, -20);
@@ -386,7 +386,7 @@ int main(int argc, char *argv[]) {
fprintf(stderr, "rename(%s, %s): %s\n", tmp_path, path, strerror(errno));
}
- LOGI("done\n");
+ ALOGI("done\n");
return 0;
}