summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-01-19 22:24:38 +0300
committerAlexander Graf <agraf@suse.de>2018-01-23 01:09:13 +0300
commit22de1de905885f2b89ea913e7ce0e18866b389cd (patch)
tree29bc4fcaeffa6d0efe1faca3786e8ce2593eb063 /lib
parent04298686a43af15c091393fac71fc42e73efddbd (diff)
downloadu-boot-22de1de905885f2b89ea913e7ce0e18866b389cd.tar.xz
efi_loader: address of the simple file system protocol
When installing the the simple file system protocol we have to path the address of the structure and not the address of a pointer to the structure. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c
index d299fc8dea..85b4a147e2 100644
--- a/lib/efi_loader/efi_disk.c
+++ b/lib/efi_loader/efi_disk.c
@@ -242,7 +242,7 @@ static void efi_disk_add_dev(const char *name,
diskobj->dp);
ret = efi_add_protocol(diskobj->parent.handle,
&efi_simple_file_system_protocol_guid,
- &diskobj->volume);
+ diskobj->volume);
if (ret != EFI_SUCCESS)
goto out_of_memory;
}