From b5a7f60a6b817402e2d96f4a35c79821b5073052 Mon Sep 17 00:00:00 2001 From: Callum Farmer Date: Mon, 23 Sep 2024 16:12:19 +0100 Subject: [PATCH] Clarify CompareGuid change * Update guid.c to display correct output code in description * Add warning about failure in ABI README Signed-off-by: Callum Farmer --- docs/README.ABI.md | 4 ++++ lib/guid.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/README.ABI.md b/docs/README.ABI.md index 775e010..d843675 100644 --- a/docs/README.ABI.md +++ b/docs/README.ABI.md @@ -5,8 +5,12 @@ versions This currently includes the following functions: - ReallocatePool + - CopyMem + - CompareGuid + + **Will break at runtime - likely causing opposite output to expected** 2) Applications which haven't been updated in a while may also be missing the required `.rodata` section which contains needed read-only data which will prevent diff --git a/lib/guid.c b/lib/guid.c index 9b8fffc..9236cab 100644 --- a/lib/guid.c +++ b/lib/guid.c @@ -134,7 +134,7 @@ Arguments: Guid2 - guid to compare Returns: - = 0 if Guid1 == Guid2 + = 1 if Guid1 == Guid2 --*/ {