efi_selftest: correct efi_selftest_manageprotocols

Pass the correct interface when uninstalling a protocol.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
Heinrich Schuchardt 2018-05-11 12:09:20 +02:00 committed by Alexander Graf
parent d9b63ea987
commit 0d6ea050cc

View File

@ -335,7 +335,7 @@ static int execute(void)
return EFI_ST_FAILURE; return EFI_ST_FAILURE;
} }
ret = boottime->uninstall_protocol_interface(handle1, &guid3, ret = boottime->uninstall_protocol_interface(handle1, &guid3,
&interface1); &interface3);
if (ret != EFI_SUCCESS) { if (ret != EFI_SUCCESS) {
efi_st_error("UninstallProtocolInterface failed\n"); efi_st_error("UninstallProtocolInterface failed\n");
return EFI_ST_FAILURE; return EFI_ST_FAILURE;