chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7749eb
)
efivars: rename last remaining err to r
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 9 Mar 2015 19:55:24 +0000
(15:55 -0400)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 9 Mar 2015 20:45:27 +0000
(16:45 -0400)
src/shared/efivars.c
patch
|
blob
|
history
diff --git
a/src/shared/efivars.c
b/src/shared/efivars.c
index 40c4270f5e1f7f7e0efeff3e4e9680b2cb54990d..2599a1aba1d91e2e0398732732dead4f3f04f459 100644
(file)
--- a/
src/shared/efivars.c
+++ b/
src/shared/efivars.c
@@
-261,12
+261,12
@@
int efi_get_boot_option(
size_t title_size;
_cleanup_free_ char *s = NULL, *p = NULL;
sd_id128_t p_uuid = SD_ID128_NULL;
- int
er
r;
+ int r;
xsprintf(boot_id, "Boot%04X", id);
-
er
r = efi_get_variable(EFI_VENDOR_GLOBAL, boot_id, NULL, (void **)&buf, &l);
- if (
er
r < 0)
- return
er
r;
+ r = efi_get_variable(EFI_VENDOR_GLOBAL, boot_id, NULL, (void **)&buf, &l);
+ if (r < 0)
+ return r;
if (l < sizeof(struct boot_option))
return -ENOENT;