* util/getroot.c (grub_find_root_devices_from_btrfs): Add
missing initialisation.
This commit is contained in:
parent
f1b16fa3e3
commit
7931dddfb8
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/getroot.c (grub_find_root_devices_from_btrfs): Add
|
||||
missing initialisation.
|
||||
|
||||
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/partmap/msdos.c (message_warn): Clarify messages.
|
||||
|
|
|
@ -455,7 +455,7 @@ grub_find_root_devices_from_btrfs (const char *dir)
|
|||
{
|
||||
int fd;
|
||||
struct btrfs_ioctl_fs_info_args fsi;
|
||||
int i, j;
|
||||
int i, j = 0;
|
||||
char **ret;
|
||||
|
||||
fd = open (dir, 0);
|
||||
|
|
Loading…
Reference in a new issue