assert(sizeof(struct antfs_dir_header) == ANTFSHEADERSIZE);
memcpy(&hdr, blast + 24, ANTFSHEADERSIZE);
- if (hdr.modified_time < 0x0FFFFFFF)
+ printf("time format: %d\n", hdr.time_format);
+ if (hdr.modified_time < 0x0FFFFFFF && hdr.modified_time > 0)
clock_offset = time(NULL) - EPOCH_OFFSET - hdr.system_time;
printf("system time: %d (offset: %d)\n", hdr.system_time, clock_offset);
format_time(textual_time, "%c", 256, hdr.modified_time);