[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[2571] missing part of previous commit
From: |
Vladimir Serbinenko |
Subject: |
[2571] missing part of previous commit |
Date: |
Fri, 04 Sep 2009 13:50:32 +0000 |
Revision: 2571
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2571
Author: phcoder
Date: 2009-09-04 13:50:32 +0000 (Fri, 04 Sep 2009)
Log Message:
-----------
missing part of previous commit
Modified Paths:
--------------
trunk/grub2/loader/i386/xnu.c
Modified: trunk/grub2/loader/i386/xnu.c
===================================================================
--- trunk/grub2/loader/i386/xnu.c 2009-09-04 13:16:07 UTC (rev 2570)
+++ trunk/grub2/loader/i386/xnu.c 2009-09-04 13:50:32 UTC (rev 2571)
@@ -258,7 +258,7 @@
2 * (utf16_strlen (SYSTEM_TABLE_PTR (firmware_vendor)) + 1);
curval->data = grub_malloc (curval->datasize);
if (! curval->data)
- return grub_error (GRUB_ERR_OUT_OF_MEMORY, "couldn't create device tree");
+ return grub_errno;
grub_memcpy (curval->data, SYSTEM_TABLE_PTR (firmware_vendor),
curval->datasize);
@@ -362,8 +362,7 @@
curval->datasize = sizeof (guid);
curval->data = grub_malloc (curval->datasize);
if (! curval->data)
- return grub_error (GRUB_ERR_OUT_OF_MEMORY,
- "couldn't create device tree");
+ return grub_errno;
grub_memcpy (curval->data, &guid, curval->datasize);
/* The value "table". */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [2571] missing part of previous commit,
Vladimir Serbinenko <=