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:
parent
8af2ab7bad
commit
0215dcbfdc
4 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
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".
|
||||
|
||||
2007-06-11 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* util/i386/pc/grub-mkrescue.in: Pad both floppy images with zeroes,
|
||||
|
|
|
@ -203,7 +203,7 @@ grub_command_execute (char *cmdline, int interactive)
|
|||
if (interactive)
|
||||
pager = grub_env_get ("pager");
|
||||
else
|
||||
pager = 0;
|
||||
pager = NULL;
|
||||
if (pager && (! grub_strcmp (pager, "1")))
|
||||
grub_set_more (1);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -81,7 +81,7 @@ static void
|
|||
probe (const char *path)
|
||||
{
|
||||
char *device_name;
|
||||
char *drive_name = 0;
|
||||
char *drive_name = NULL;
|
||||
grub_device_t dev;
|
||||
grub_fs_t fs;
|
||||
|
||||
|
|
Loading…
Reference in a new issue