commit | 7b9bd5af5b14ec48fd3cec27729bec556a2e5219 | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@gmail.com> | Wed Sep 20 18:23:42 2017 -0400 |
committer | Alexander Graf <agraf@suse.de> | Thu Sep 21 09:04:25 2017 +0200 |
tree | 9eaac3e9708da8ef760ab5b1ea9bc98fea4e60e2 | |
parent | 389f251bd0d33fd8215ce62a07f6f7bbe33e0db6 [diff] |
efi_loader: fix efi_exit efi_exit() already restores gd, so we shouldn't EFI_EXIT() on the otherside of the longjmp(). Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
diff --git a/cmd/bootefi.c b/cmd/bootefi.c index e0a6573..b7087e3 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c
@@ -190,7 +190,6 @@ if (setjmp(&loaded_image_info.exit_jmp)) { ret = loaded_image_info.exit_status; - EFI_EXIT(ret); goto exit; }