From: Tollef Fog Heen Date: Fri, 6 Jan 2012 21:23:26 +0000 (+0100) Subject: rename real_time to modified_time X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10a2d28b5f7c687b6e1d3ecb8a7c9bd632805c34;p=gant rename real_time to modified_time --- diff --git a/fr60.c b/fr60.c index 9061a4f..5efe81d 100644 --- a/fr60.c +++ b/fr60.c @@ -139,7 +139,7 @@ struct antfs_dir_header { uchar reserved[5]; // probably unused (seems to always be zero) uint system_time; // seconds since last reset - uint real_time; // UTC, seconds since 1989-12-31 00:00 + uint modified_time; // UTC, seconds since 1989-12-31 00:00 }; #define FILETYPE_FIT 128 @@ -310,8 +310,8 @@ decode_antfs_dir(const uchar* blast, uint blsize) memcpy(&hdr, blast + 24, ANTFSHEADERSIZE); printf("system time: %d\n", hdr.system_time); - format_time(textual_time, "%c", 256, hdr.real_time); - printf("real time: %d (%s)\n", hdr.real_time, textual_time); + format_time(textual_time, "%c", 256, hdr.modified_time); + printf("last modified: %d (%s)\n", hdr.modified_time, textual_time); dir_start_offset = 40; } else { if (24 + ANTFSDIRSIZE > blsize) {