2007-06-12 Robert Millan <rmh@aybabtu.com>

* normal/command.c (grub_command_execute): Use NULL rather than 0 for
	"pager" assignment.
	* util/biosdisk.c (grub_util_biosdisk_get_grub_dev): Likewise for
	"pcdata".
	* util/grub-probe.c (probe): Likewise for "drive_name".
This commit is contained in:
robertmh 2007-06-12 14:23:12 +00:00
parent 8af2ab7bad
commit 0215dcbfdc
4 changed files with 11 additions and 3 deletions

View file

@ -732,7 +732,7 @@ grub_util_biosdisk_get_grub_dev (const char *os_dev)
int find_partition (grub_disk_t disk __attribute__ ((unused)),
const grub_partition_t partition)
{
struct grub_pc_partition *pcdata = 0;
struct grub_pc_partition *pcdata = NULL;
if (strcmp (partition->partmap->name, "pc_partition_map") == 0)
pcdata = partition->data;