diff --git a/xtldr2/protocol.c b/xtldr2/protocol.c index 13afe52..bf10273 100644 --- a/xtldr2/protocol.c +++ b/xtldr2/protocol.c @@ -40,7 +40,7 @@ BlFindBootProtocol(IN PWCHAR SystemType, if(RtlCompareWideStringInsensitive(ProtocolEntry->SystemType, SystemType, 0) == 0) { /* Boot protocol matched, return success */ - BootProtocolGuid = &ProtocolEntry->Guid; + *BootProtocolGuid = ProtocolEntry->Guid; return STATUS_EFI_SUCCESS; }