From af6863447c59c9447ea92e724e89ce04665b8fc5 Mon Sep 17 00:00:00 2001 From: San Mehat Date: Fri, 2 Oct 2009 13:15:53 -0700 Subject: dumpstate: Display mtime instead of ctime Signed-off-by: San Mehat --- cmds/dumpstate/dumpstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/dumpstate') diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index c60045c..1f14726 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -340,7 +340,7 @@ static void dump_kernel_log(const char *path, const char *title) if (stat(path, &sbuf) < 0) printf("%s: stat failed (%s)\n", path, strerror(errno)); else - printf("Harvested %s", ctime(&sbuf.st_ctime)); + printf("Harvested %s", ctime(&sbuf.st_mtime)); DUMP(path); } -- cgit v1.1