On 28.09.2011 19:56, Grégoire Sutre wrote: > + grub_uint64_t buf[(GRUB_DISK_SECTOR_SIZE + 7) / 8]; No need for + 7 since you know that GRUB_DISK_SECTOR_SIZE is divisible by 8. Other than this patch looks good. Go ahead (I assume that you checked that it works well with NetBSD) -- Regards Vladimir 'φ-coder/phcoder' Serbinenko