mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-26 02:58:39 +02:00
ArmPkg/ArmTrngLib: Fix incorrect GUID reference in DEBUG() output
ArmTrngLib crashes when run in DEBUG mode due to the fact that it passed the [truncated] GUID value to a DEBUG() print statement instead of a pointer to the GUID which is what the %g conversion expects. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
parent
3b1f3414f2
commit
c8fb724046
@ -375,7 +375,7 @@ ArmTrngLibConstructor (
|
|||||||
"FW-TRNG: Version %d.%d, GUID {%g}\n",
|
"FW-TRNG: Version %d.%d, GUID {%g}\n",
|
||||||
MajorRev,
|
MajorRev,
|
||||||
MinorRev,
|
MinorRev,
|
||||||
Guid
|
&Guid
|
||||||
));
|
));
|
||||||
|
|
||||||
DEBUG_CODE_END ();
|
DEBUG_CODE_END ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user