aboutsummaryrefslogtreecommitdiff
path: root/block/vmdk.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2012-08-16 10:34:10 +0200
committerKevin Wolf <kwolf@redhat.com>2012-08-17 11:14:19 +0200
commit7a736bfa4e0a58087054cad68a1d4b3804bbb708 (patch)
tree60b21375f08a0f1d357dfc53c0e79ee7bca61b12 /block/vmdk.c
parent731dc9ecd4f2c3041538f7eb2d10eee0cb82da1b (diff)
vmdk: Fix header structure
Commit bb45ded9 swapped gd_offset and rgd_offset. This is wrong. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/vmdk.c')
-rw-r--r--block/vmdk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/vmdk.c b/block/vmdk.c
index daee4268be..9648398822 100644
--- a/block/vmdk.c
+++ b/block/vmdk.c
@@ -57,8 +57,8 @@ typedef struct {
int64_t desc_offset;
int64_t desc_size;
int32_t num_gtes_per_gte;
- int64_t gd_offset;
int64_t rgd_offset;
+ int64_t gd_offset;
int64_t grain_offset;
char filler[1];
char check_bytes[4];