summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-09 15:55:24 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-09 16:45:27 -0400
commita8436474fa5fa02b8ecf3c23be04de2bca8b4c03 (patch)
tree5905d030adaf1e83801f408f8143983ee8b557bc /src/shared
parentb7749eb517ff5dd379cf61ee9fb50a0105ab2c0f (diff)
efivars: rename last remaining err to r
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/efivars.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/efivars.c b/src/shared/efivars.c
index 40c4270f5e..2599a1aba1 100644
--- 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 err;
+ int r;
xsprintf(boot_id, "Boot%04X", id);
- err = efi_get_variable(EFI_VENDOR_GLOBAL, boot_id, NULL, (void **)&buf, &l);
- if (err < 0)
- return err;
+ 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;