https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2183e65c17fd4a8b0fe95…
commit 2183e65c17fd4a8b0fe950c1600146c206c1f035
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Wed Apr 4 02:25:49 2018 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Apr 22 16:52:42 2018 +0200
[ACPI] Fix the format of the (default hardcoded) "unique" instance ID.
---
drivers/bus/acpi/buspdo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/bus/acpi/buspdo.c b/drivers/bus/acpi/buspdo.c
index ea6b7dd8e4..59a437e671 100644
--- a/drivers/bus/acpi/buspdo.c
+++ b/drivers/bus/acpi/buspdo.c
@@ -507,12 +507,12 @@ Bus_PDO_QueryDeviceId(
Device->pnp.unique_id);
else
/* FIXME: Generate unique id! */
- length = swprintf(temp, L"%ls", L"0000");
+ length = swprintf(temp, L"%ls", L"0");
}
else
{
/* FIXME: Generate unique id! */
- length = swprintf(temp, L"%ls", L"0000");
+ length = swprintf(temp, L"%ls", L"0");
}
temp[length++] = UNICODE_NULL;