mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 23:32:39 +00:00
* grub-core/disk/ata.c (grub_ata_real_open): Use grub_error properly.
This commit is contained in:
1 parent
45fbd9a23f
commit
e343549ca9
2 files changed
+6
No files matched your search
@@ -1,3 +1,7 @@
|
|||||||
|
2013-04-24 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/disk/ata.c (grub_ata_real_open): Use grub_error properly.
|
||||||
|
|
||||||
2013-04-24 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-04-24 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Add missing video ids to coreboot and ieee1275 video.
|
Add missing video ids to coreboot and ieee1275 video.
|
||||||
|
|||||||
@@ -382,6 +382,8 @@ grub_ata_real_open (int id, int bus)
|
|||||||
err = grub_ata_identify (ata);
|
err = grub_ata_identify (ata);
|
||||||
if (err)
|
if (err)
|
||||||
{
|
{
|
||||||
|
if (!grub_errno)
|
||||||
|
grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no such ATA device");
|
||||||
grub_free (ata);
|
grub_free (ata);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user