diff options
| author | 2012-01-05 14:07:02 -0800 | |
|---|---|---|
| committer | 2012-01-05 14:07:02 -0800 | |
| commit | bd47cac4dfc8440a848b33107cba1d6773f3e124 (patch) | |
| tree | 90def33029a99f96318ef4661203f24cce060f07 /cmds/dumpstate/dumpstate.c | |
| parent | c726ff02c7749f134885decadd2ea86877119c3d (diff) | |
| parent | 6215d3ff4b5dfa52a5d8b9a42e343051f31066a5 (diff) | |
Merge "Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE"
Diffstat (limited to 'cmds/dumpstate/dumpstate.c')
| -rw-r--r-- | cmds/dumpstate/dumpstate.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index 02e1f1ce6187..fa0658243a18 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -87,9 +87,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 SETTINGS", 20, "su", "root", "sqlite3", @@ -285,7 +285,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); @@ -422,7 +422,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; } |