summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-09 20:41:00 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-09 22:10:54 -0400
commitad7bcf526d5ec54838bc9411a0e09a293845a015 (patch)
tree4f684712d70c1ad2bc96b702f49aaa6b6b8dc502 /src
parentd92f98b4f6750419e40642f647e2c7ce4a9528ed (diff)
efivars: itialize variable
Introduced a few commits ago.
Diffstat (limited to 'src')
-rw-r--r--src/shared/efivars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/efivars.c b/src/shared/efivars.c
index d3bec5092d..20067c601a 100644
--- a/src/shared/efivars.c
+++ b/src/shared/efivars.c
@@ -105,7 +105,7 @@ int efi_get_variable(
uint32_t a;
ssize_t n;
struct stat st;
- _cleanup_free_ void *buf;
+ _cleanup_free_ void *buf = NULL;
assert(name);
assert(value);