ACPICAHaiku.cpp: Fix wformat-security

Change-Id: I6d06e68e60ced2ca311c3fc505f9f9f51ee05563
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4473
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Coldfirex 2021-09-17 04:48:04 -05:00 committed by waddlesplash
parent 5ea9360258
commit 59642dc3e8

View File

@ -1199,7 +1199,7 @@ AcpiOsSignal(UINT32 function, void *info)
switch (function) {
case ACPI_SIGNAL_FATAL:
#ifdef _KERNEL_MODE
panic(info == NULL ? "AcpiOsSignal: fatal" : (const char*)info);
panic("%s", info == NULL ? "AcpiOsSignal: fatal" : (const char*)info);
break;
#endif
case ACPI_SIGNAL_BREAKPOINT: