chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
boot-efi: Remove superfluous assignment
[elogind.git]
/
src
/
boot
/
boot-efi.c
diff --git
a/src/boot/boot-efi.c
b/src/boot/boot-efi.c
index 33840b6864e83820be915dca43e6f9384988c2e5..1c80126cc5eed1fc7d12aaec15586b426e95cf57 100644
(file)
--- a/
src/boot/boot-efi.c
+++ b/
src/boot/boot-efi.c
@@
-95,7
+95,7
@@
static int find_active_entry(struct boot_info *info) {
void *buf;
size_t l;
size_t i;
- int err
= -ENOENT
;
+ int err;
err = efi_get_variable(EFI_VENDOR_GLOBAL, "BootCurrent", NULL, &buf, &l);
if (err < 0)