From f817218e09a556f20efc81309ba2cdb3475a370b Mon Sep 17 00:00:00 2001 From: Dima Zavin Date: Wed, 25 Nov 2009 23:31:48 -0800 Subject: 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 --- cmds/dumpstate/dumpstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds') 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"); -- cgit v1.1