diff --git a/ChangeLog b/ChangeLog index 732ed152e..c26473f44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-05-27 Vladimir Serbinenko + + * grub-core/fs/ntfs.c (list_file): Set mtime to correct value. + 2012-05-27 Vladimir Serbinenko * grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Don't skip "." and diff --git a/grub-core/fs/ntfs.c b/grub-core/fs/ntfs.c index 80e0f6a0e..b9762b6a0 100644 --- a/grub-core/fs/ntfs.c +++ b/grub-core/fs/ntfs.c @@ -650,10 +650,7 @@ list_file (struct grub_ntfs_file *diro, char *pos, fdiro->data = diro->data; fdiro->ino = u32at (pos, 0); - if (u64at (pos, 0x20) > u64at (pos, 0x28)) - fdiro->mtime = u64at (pos, 0x20); - else - fdiro->mtime = u64at (pos, 0x28); + fdiro->mtime = u64at (pos, 0x20); ustr = grub_malloc (ns * GRUB_MAX_UTF8_PER_UTF16 + 1); if (ustr == NULL)