From 4672c79181adfc712bd1a7d61dbddf478de1a970 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 14 Apr 2013 08:14:27 +0200 Subject: [PATCH] Changed Libisofs_grub2_sparc_patch_lba_poS to Libisofs_grub2_sparc_patch_adr_poS --- libisofs/system_area.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/system_area.c b/libisofs/system_area.c index 266daa1..955a907 100644 --- a/libisofs/system_area.c +++ b/libisofs/system_area.c @@ -739,7 +739,7 @@ static int make_sun_disk_label(Ecma119Image *t, uint8_t *buf, int flag) blk= ((uint64_t) t->sparc_core_src->sections[0].block) * (uint64_t) 2048; for (i = 0; i < 8; i++) - buf[Libisofs_grub2_sparc_patch_lba_poS + i] = blk >> ((7 - i) * 8); + buf[Libisofs_grub2_sparc_patch_adr_poS + i] = blk >> ((7 - i) * 8); iso_msb(buf + Libisofs_grub2_sparc_patch_size_poS, t->sparc_core_src->sections[0].size, 4); }