diff --git a/ChangeLog b/ChangeLog index e00dbfd8a..a958ded14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-02-08 Vladimir Serbinenko + + * include/grub/misc.h (grub_error_save): Fix cleaning grub_errno. + 2012-02-08 Vladimir Serbinenko Improve string. Gettextize. diff --git a/include/grub/misc.h b/include/grub/misc.h index 611a1a0f9..be5fa6007 100644 --- a/include/grub/misc.h +++ b/include/grub/misc.h @@ -430,7 +430,7 @@ grub_error_save (struct grub_error_saved *save) { grub_memcpy (save->errmsg, grub_errmsg, sizeof (save->errmsg)); save->grub_errno = grub_errno; - save->grub_errno = GRUB_ERR_NONE; + grub_errno = GRUB_ERR_NONE; } static inline void