On 06/13/2010 12:48 PM, Colin Watson wrote: > The following patch is aimed at fixing this Debian bug: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585068 > > > +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) > +static int > +device_is_wholedisk (const char *os_dev) > +{ > + const char *p; > + > + if (strncmp (os_dev, "/dev/", 5) != 0) > + return 0; > + > + for (p = os_dev + 5; *p; ++p) > Please use sizeof. Other than that please go ahead.
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Grub-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/grub-devel
