* include/grub/misc.h (grub_error_save): Fix cleaning grub_errno.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-12 17:21:09 +01:00
parent d61386e21d
commit f991dd3c32
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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