diff options
author | sjg <sjg@FreeBSD.org> | 2016-05-18 22:24:52 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2016-05-18 22:24:52 +0000 |
commit | 51b382176c3831768435f986cc497e3445bbc23d (patch) | |
tree | 381f1cfd2e8ee214c29e219a047b6da6a3c79b9f /usr.sbin | |
parent | c6b304514390d338b71f6412071b736df83d0bd5 (diff) | |
download | FreeBSD-src-51b382176c3831768435f986cc497e3445bbc23d.zip FreeBSD-src-51b382176c3831768435f986cc497e3445bbc23d.tar.gz |
Initialize date of rootNode.
Reviewed by: jtl
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/makefs/cd9660.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/makefs/cd9660.c b/usr.sbin/makefs/cd9660.c index 90a953f..3f55b8d 100644 --- a/usr.sbin/makefs/cd9660.c +++ b/usr.sbin/makefs/cd9660.c @@ -685,6 +685,9 @@ cd9660_finalize_PVD(void) cd9660_time_8426( (unsigned char *)diskStructure.primaryDescriptor.effective_date, tim); + /* make this sane */ + cd9660_time_915(diskStructure.rootNode->dot_record->isoDirRecord->date, + tim); } static void |