Loading cmds/dumpstate/dumpstate.c +13 −5 Original line number Diff line number Diff line Loading @@ -336,7 +336,15 @@ static void dump_kernel_log(const char *path, const char *title) printf("------ KERNEL %s LOG ------\n", title); if (access(path, R_OK) < 0) printf("%s: %s\n", path, strerror(errno)); else { struct stat sbuf; if (stat(path, &sbuf) < 0) printf("%s: stat failed (%s)\n", path, strerror(errno)); else printf("Harvested %s", ctime(&sbuf.st_ctime)); DUMP(path); } } Loading
cmds/dumpstate/dumpstate.c +13 −5 Original line number Diff line number Diff line Loading @@ -336,7 +336,15 @@ static void dump_kernel_log(const char *path, const char *title) printf("------ KERNEL %s LOG ------\n", title); if (access(path, R_OK) < 0) printf("%s: %s\n", path, strerror(errno)); else { struct stat sbuf; if (stat(path, &sbuf) < 0) printf("%s: stat failed (%s)\n", path, strerror(errno)); else printf("Harvested %s", ctime(&sbuf.st_ctime)); DUMP(path); } }