mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 20:51:39 +00:00
efi_selftest: incorrect use of bitwise or
We should use a logical or when combining logical values. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
a2505fc8a9
commit
335ce71db7
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ static int execute(void)
|
|||
efi_st_error("ProtocolsPerHandle failed\n");
|
||||
return EFI_ST_FAILURE;
|
||||
}
|
||||
if (!protocol_buffer_count | !protocol_buffer) {
|
||||
if (!protocol_buffer_count || !protocol_buffer) {
|
||||
efi_st_error("ProtocolsPerHandle returned no protocol\n");
|
||||
return EFI_ST_FAILURE;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue