nvdimm(4): Fix GCC 6.4.0 build
-Wformat= pedantically complains that the void* pointer is passed to a %s format. Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
618703b57b
commit
b3b23b71d6
@ -222,7 +222,7 @@ nvdimm_count_devs(ACPI_HANDLE handle __unused, void *arg)
|
||||
status = AcpiGetName(handle, ACPI_FULL_PATHNAME, &name);
|
||||
if (ACPI_FAILURE(status))
|
||||
return_ACPI_STATUS(status);
|
||||
printf("nvdimm: enumerated %s\n", name.Pointer);
|
||||
printf("nvdimm: enumerated %s\n", (char *)name.Pointer);
|
||||
AcpiOsFree(name.Pointer);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user