On Mon, Jun 04, 2007 at 09:00:21PM +0200, Robert Millan wrote: > - struct grub_pc_partition *pcdata = 0; > + struct grub_pc_partition *pcdata = NULL; > >[...] > > - char *drive_name = 0; > + char *drive_name = NULL;
I generaly find that NULL makes it clearer for pointers, do you have a preference for 0 on these? > @@ -816,8 +816,7 @@ > if (dos_part < 0) > { > grub_disk_close (disk); > - grub_error (GRUB_ERR_BAD_DEVICE, > - "cannot find the partition of `%s'", os_dev); > + grub_util_error ("cannot find the partition of `%s'", os_dev); > return 0; Not sure what I'm missing, but these grub_error calls seem to be pretty useless. This one in particular was the culprit to one of the powerpc problems I just fixed, and I had to replace it with grub_util_error() to find out. -- Robert Millan My spam trap is [EMAIL PROTECTED] Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list. _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel