* util/getroot.c (grub_find_root_devices_from_btrfs): Add

missing initialisation.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-28 04:25:13 +01:00
parent f1b16fa3e3
commit 7931dddfb8
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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);