diff options
author | San Mehat <san@google.com> | 2009-10-02 13:15:53 -0700 |
---|---|---|
committer | San Mehat <san@google.com> | 2009-10-02 13:15:53 -0700 |
commit | af6863447c59c9447ea92e724e89ce04665b8fc5 (patch) | |
tree | a6e1a0b51f0ce399137fc08514632cca1ff46841 /cmds/dumpstate | |
parent | df64cb41fb44d56957cba8e375788d98af7bd8b4 (diff) | |
download | frameworks_base-af6863447c59c9447ea92e724e89ce04665b8fc5.zip frameworks_base-af6863447c59c9447ea92e724e89ce04665b8fc5.tar.gz frameworks_base-af6863447c59c9447ea92e724e89ce04665b8fc5.tar.bz2 |
dumpstate: Display mtime instead of ctime
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'cmds/dumpstate')
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |