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>
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index 3a23b49..5a485e4b 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -114,7 +114,7 @@
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");