diff options
Diffstat (limited to 'source/components/parser/psutils.c')
| -rw-r--r-- | source/components/parser/psutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/components/parser/psutils.c b/source/components/parser/psutils.c index e95d16248534..55bf2ccff1b0 100644 --- a/source/components/parser/psutils.c +++ b/source/components/parser/psutils.c @@ -104,7 +104,7 @@ AcpiPsInitOp ( Op->Common.DescriptorType = ACPI_DESC_TYPE_PARSER; Op->Common.AmlOpcode = Opcode; - ACPI_DISASM_ONLY_MEMBERS (ACPI_STRNCPY (Op->Common.AmlOpName, + ACPI_DISASM_ONLY_MEMBERS (strncpy (Op->Common.AmlOpName, (AcpiPsGetOpcodeInfo (Opcode))->Name, sizeof (Op->Common.AmlOpName))); } |
