DragonFlyBSD Kernel Audit
DF-1893 / fix.diff
← back to finding ↓ download raw
diff --git a/dev/acpica/acpi_toshiba/acpi_toshiba.c b/dev/acpica/acpi_toshiba/acpi_toshiba.c
--- a/dev/acpica/acpi_toshiba/acpi_toshiba.c
+++ b/dev/acpica/acpi_toshiba/acpi_toshiba.c
@@ -471,7 +471,7 @@
 static void
 hci_key_action(struct acpi_toshiba_softc *sc, ACPI_HANDLE h, UINT32 key)
 {
-	UINT32		arg;
+	UINT32		arg = 0;
 
 	ACPI_SERIAL_ASSERT(toshiba);
 	switch (key) {