* util/getroot.c (grub_util_biosdisk_get_grub_dev): Zero out
authorColin Watson <cjwatson@ubuntu.com>
Tue, 13 Aug 2013 15:48:56 +0000 (17:48 +0200)
committerColin Watson <cjwatson@ubuntu.com>
Tue, 13 Aug 2013 15:48:56 +0000 (17:48 +0200)
commit36e87d25e14d12f0e511a3662d690d144a7c54fe
tree1ee20e38f1a6e1589d996bac6f3fd7a6093f9169
parent273349fe42182498bdc8c4ad9554acc80d00ceb2
* util/getroot.c (grub_util_biosdisk_get_grub_dev): Zero out
grub_errno in the case where we handle GRUB_ERR_UNKNOWN_DEVICE by
falling back to the partition device, otherwise a later call to this
function may fail spuriously.
Reported by Axel Beckert.  Fixes Debian bug #708614.
ChangeLog
util/getroot.c