* grub-core/fs/nilfs2.c (grub_nilfs2_mtime): Use correct superblock

field.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-11-03 14:52:59 +01:00
parent cf5ba824ea
commit f92ece7d45

View file

@ -1152,7 +1152,7 @@ grub_nilfs2_mtime (grub_device_t device, grub_int32_t * tm)
if (!data)
*tm = 0;
else
*tm = (grub_int32_t) grub_le_to_cpu64 (data->sblock.s_mtime);
*tm = (grub_int32_t) grub_le_to_cpu64 (data->sblock.s_wtime);
grub_dl_unref (my_mod);