diff --git a/ChangeLog b/ChangeLog index 1f6a2071e..0356f974b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-27 Vladimir Serbinenko + + * util/getroot.c (grub_find_root_devices_from_btrfs): Add + missing initialisation. + 2012-02-27 Vladimir Serbinenko * grub-core/partmap/msdos.c (message_warn): Clarify messages. diff --git a/util/getroot.c b/util/getroot.c index e87f42963..7bb547a35 100644 --- a/util/getroot.c +++ b/util/getroot.c @@ -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);