* include/grub/misc.h (grub_error_save): Fix cleaning grub_errno.
This commit is contained in:
parent
d61386e21d
commit
f991dd3c32
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2012-02-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* include/grub/misc.h (grub_error_save): Fix cleaning grub_errno.
|
||||||
|
|
||||||
2012-02-08 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-02-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Improve string. Gettextize.
|
Improve string. Gettextize.
|
||||||
|
|
|
@ -430,7 +430,7 @@ grub_error_save (struct grub_error_saved *save)
|
||||||
{
|
{
|
||||||
grub_memcpy (save->errmsg, grub_errmsg, sizeof (save->errmsg));
|
grub_memcpy (save->errmsg, grub_errmsg, sizeof (save->errmsg));
|
||||||
save->grub_errno = grub_errno;
|
save->grub_errno = grub_errno;
|
||||||
save->grub_errno = GRUB_ERR_NONE;
|
grub_errno = GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
|
|
Loading…
Reference in a new issue