From 2183e65c17fd4a8b0fe950c1600146c206c1f035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Wed, 4 Apr 2018 02:25:49 +0200 Subject: [PATCH] [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 ea6b7dd8e45..59a437e6715 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;