https://git.reactos.org/?p=reactos.git;a=commitdiff;h=205b6e56c8e62a9877a07…
commit 205b6e56c8e62a9877a0773d74bfe845c6e2ef66
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Mon Feb 22 19:10:27 2021 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Feb 22 21:10:27 2021 +0300
[FREELDR] DetectPnpBios(): Add 'i' to ERR() debug print (#3465)
Addendum to 17990b2 (r73617). CORE-12623
---
boot/freeldr/freeldr/arch/i386/pc/machpc.c | 2 +-
boot/freeldr/freeldr/arch/i386/pc98/pc98hw.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/boot/freeldr/freeldr/arch/i386/pc/machpc.c
b/boot/freeldr/freeldr/arch/i386/pc/machpc.c
index c0893049aaf..6b2ee3d7508 100644
--- a/boot/freeldr/freeldr/arch/i386/pc/machpc.c
+++ b/boot/freeldr/freeldr/arch/i386/pc/machpc.c
@@ -273,7 +273,7 @@ DetectPnpBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG
*BusNumber)
if (PnpBufferSize + DeviceNode->Size > PnpBufferSizeLimit)
{
- ERR("Buffer too small! Ignoring remaining device nodes.\n");
+ ERR("Buffer too small! Ignoring remaining device nodes. (i =
%d)\n", i);
break;
}
diff --git a/boot/freeldr/freeldr/arch/i386/pc98/pc98hw.c
b/boot/freeldr/freeldr/arch/i386/pc98/pc98hw.c
index 457981c5fde..f0e2c1c0d43 100644
--- a/boot/freeldr/freeldr/arch/i386/pc98/pc98hw.c
+++ b/boot/freeldr/freeldr/arch/i386/pc98/pc98hw.c
@@ -1150,7 +1150,7 @@ DetectPnpBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG
*BusNumber)
if (PnpBufferSize + DeviceNode->Size > PnpBufferSizeLimit)
{
- ERR("Buffer too small! Ignoring remaining device nodes.\n");
+ ERR("Buffer too small! Ignoring remaining device nodes. (i =
%d)\n", i);
break;
}