On Tue, 2009-07-21 at 22:01 +0200, Vladimir 'phcoder' Serbinenko wrote: > On Tue, Jul 21, 2009 at 7:14 PM, Pavel Roskin<pro...@gnu.org> wrote: > > On Tue, 2009-07-21 at 15:03 +0200, Vladimir 'phcoder' Serbinenko wrote: > >> + grub_sprintf (*uuid, "%08lx%08lx", > >> + (unsigned long) grub_le_to_cpu32 (data->sblock.uuidhi), > >> + (unsigned long) grub_le_to_cpu32 > >> (data->sblock.uuidlow)); > > > > unsigned long is 64-bit on x86_64. unsigned int would do just fine > > here. > Ok > > I would add a dash between the numbers to make it more readable unless > > there is a precedent where the dash is not used. > If you look into /dev/ufsid/ then you'll see that it has no dash. This > is also a syntax used in > set FreeBSD.vfs.root.mountfrom=ufs:ufsid/<id> > So making it with dash would need additional conversion to pass it to FreeBSD
OK then. -- Regards, Pavel Roskin _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel