aboutsummaryrefslogtreecommitdiff
path: root/devel/efivar/files/patch-src-vars.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/efivar/files/patch-src-vars.c')
-rw-r--r--devel/efivar/files/patch-src-vars.c47
1 files changed, 0 insertions, 47 deletions
diff --git a/devel/efivar/files/patch-src-vars.c b/devel/efivar/files/patch-src-vars.c
deleted file mode 100644
index fd9a2c6593f3..000000000000
--- a/devel/efivar/files/patch-src-vars.c
+++ /dev/null
@@ -1,47 +0,0 @@
---- src/vars.c.orig 2015-01-19 15:36:23.000000000 +0100
-+++ src/vars.c 2015-01-19 15:36:36.000000000 +0100
-@@ -94,7 +94,7 @@ vars_get_variable_size(efi_guid_t guid,
-
- char *path = NULL;
- int rc = asprintf(&path, VARS_PATH "%s-"GUID_FORMAT"/size",
-- name, guid.a, guid.b, guid.c, bswap_16(guid.d),
-+ name, guid.a, guid.b, guid.c, bswap16(guid.d),
- guid.e[0], guid.e[1], guid.e[2], guid.e[3],
- guid.e[4], guid.e[5]);
- if (rc < 0)
-@@ -146,7 +146,7 @@ vars_get_variable(efi_guid_t guid, const
- size_t bufsize = -1;
- char *path;
- int rc = asprintf(&path, VARS_PATH "%s-" GUID_FORMAT "/raw_var",
-- name, guid.a, guid.b, guid.c, bswap_16(guid.d),
-+ name, guid.a, guid.b, guid.c, bswap16(guid.d),
- guid.e[0], guid.e[1], guid.e[2],
- guid.e[3], guid.e[4], guid.e[5]);
- if (rc < 0)
-@@ -193,7 +193,7 @@ vars_del_variable(efi_guid_t guid, const
- int ret = -1;
- char *path;
- int rc = asprintf(&path, VARS_PATH "%s-" GUID_FORMAT "/raw_var",
-- name, guid.a, guid.b, guid.c, bswap_16(guid.d),
-+ name, guid.a, guid.b, guid.c, bswap16(guid.d),
- guid.e[0], guid.e[1], guid.e[2],
- guid.e[3], guid.e[4], guid.e[5]);
- if (rc < 0)
-@@ -280,7 +280,7 @@ vars_chmod_variable(efi_guid_t guid, con
-
- char *path;
- int rc = asprintf(&path, VARS_PATH "%s-" GUID_FORMAT,
-- name, guid.a, guid.b, guid.c, bswap_16(guid.d),
-+ name, guid.a, guid.b, guid.c, bswap16(guid.d),
- guid.e[0], guid.e[1], guid.e[2], guid.e[3],
- guid.e[4], guid.e[5]);
- if (rc < 0)
-@@ -312,7 +312,7 @@ vars_set_variable(efi_guid_t guid, const
-
- char *path;
- int rc = asprintf(&path, VARS_PATH "%s-" GUID_FORMAT "/data",
-- name, guid.a, guid.b, guid.c, bswap_16(guid.d),
-+ name, guid.a, guid.b, guid.c, bswap16(guid.d),
- guid.e[0], guid.e[1], guid.e[2], guid.e[3],
- guid.e[4], guid.e[5]);
- if (rc < 0)