summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2009-11-25 23:31:48 -0800
committerDima Zavin <dima@android.com>2009-11-25 23:34:19 -0800
commitf817218e09a556f20efc81309ba2cdb3475a370b (patch)
tree3e5886906ffc5dabc3b3b423a2438055061b4b2a /cmds
parentbcab01f6d0158c4d928f42b034949dc9608665a6 (diff)
downloadframeworks_base-f817218e09a556f20efc81309ba2cdb3475a370b.zip
frameworks_base-f817218e09a556f20efc81309ba2cdb3475a370b.tar.gz
frameworks_base-f817218e09a556f20efc81309ba2cdb3475a370b.tar.bz2
dumpstate: Pick up the last kernel log from /proc
This is needed since its no longer copied to /data/dontpanic by init. Change-Id: I5217da73ec470653824b7fb9a31e093e263a8dc9 Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'cmds')
-rw-r--r--cmds/dumpstate/dumpstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index 3a23b49..5a485e4 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -114,7 +114,7 @@ static void dumpstate(int full) {
PRINT("------ PACKAGE UID ERRORS ------");
DUMP("/data/system/uiderrors.txt");
- dump_kernel_log("/data/dontpanic/last_kmsg", "LAST KMSG");
+ dump_kernel_log("/proc/last_kmsg", "LAST KMSG");
PRINT("------ LAST RADIO LOG ------");
EXEC1("parse_radio_log", "/proc/last_radio_log");