Fix a warning about deprecated string literals.
Reviewed by: diff
This commit is contained in:
parent
24af6661b4
commit
9dfe2aa5f6
@ -71,14 +71,14 @@ acpi_print_dsdt_definition(void)
|
|||||||
strncpy(oemtblid, dsdt_header.oemtblid, 8);
|
strncpy(oemtblid, dsdt_header.oemtblid, 8);
|
||||||
oemtblid[8] = '\0';
|
oemtblid[8] = '\0';
|
||||||
|
|
||||||
printf("DefinitionBlock (
|
printf("DefinitionBlock (\n"
|
||||||
\"acpi_dsdt.aml\", //Output filename
|
" \"acpi_dsdt.aml\", //Output filename\n"
|
||||||
\"DSDT\", //Signature
|
" \"DSDT\", //Signature\n"
|
||||||
0x%x, //DSDT Revision
|
" 0x%x, //DSDT Revision\n"
|
||||||
\"%s\", //OEMID
|
" \"%s\", //OEMID\n"
|
||||||
\"%s\", //TABLE ID
|
" \"%s\", //TABLE ID\n"
|
||||||
0x%x //OEM Revision\n)\n",
|
" 0x%x //OEM Revision\n)\n",
|
||||||
dsdt_header.rev, oemid, oemtblid, dsdt_header.oemrev);
|
dsdt_header.rev, oemid, oemtblid, dsdt_header.oemrev);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user