From cffcddb2b53dad52e21334e4c591411fbed89aec Mon Sep 17 00:00:00 2001 From: phcoder Date: Tue, 21 Jul 2009 12:58:41 +0000 Subject: [PATCH] 2009-07-21 Vladimir Serbinenko * fs/ufs.c (grub_ufs_sblock): Fix offset of mtime2 which was off by 128 bytes --- ChangeLog | 5 +++++ fs/ufs.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6cfc6dd3c..02d5af132 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-21 Vladimir Serbinenko + + * fs/ufs.c (grub_ufs_sblock): Fix offset of mtime2 which was off by + 128 bytes + 2009-07-20 Vladimir Serbinenko Add BFS support diff --git a/fs/ufs.c b/fs/ufs.c index 7a2d21f25..c9531b5a7 100644 --- a/fs/ufs.c +++ b/fs/ufs.c @@ -99,10 +99,10 @@ struct grub_ufs_sblock /* Volume name for UFS2. */ grub_uint8_t volume_name[GRUB_UFS_VOLNAME_LEN]; - grub_uint8_t unused8[232]; + grub_uint8_t unused8[360]; grub_uint64_t mtime2; - grub_uint8_t unused9[420]; + grub_uint8_t unused9[292]; /* Magic value to check if this is really a UFS filesystem. */ grub_uint32_t magic;