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
5711c34ef6
commit
4633e3d1a1
@ -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