aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/acpica/components/tables/tbfind.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/components/tables/tbfind.c')
-rw-r--r--sys/contrib/dev/acpica/components/tables/tbfind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/contrib/dev/acpica/components/tables/tbfind.c b/sys/contrib/dev/acpica/components/tables/tbfind.c
index 108e52fe5da4..e497cca9b553 100644
--- a/sys/contrib/dev/acpica/components/tables/tbfind.c
+++ b/sys/contrib/dev/acpica/components/tables/tbfind.c
@@ -8,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2024, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -208,8 +208,8 @@ AcpiTbFindTable (
memset (&Header, 0, sizeof (ACPI_TABLE_HEADER));
ACPI_COPY_NAMESEG (Header.Signature, Signature);
- strncpy (Header.OemId, OemId, ACPI_OEM_ID_SIZE);
- strncpy (Header.OemTableId, OemTableId, ACPI_OEM_TABLE_ID_SIZE);
+ memcpy (Header.OemId, OemId, ACPI_OEM_ID_SIZE);
+ memcpy (Header.OemTableId, OemTableId, ACPI_OEM_TABLE_ID_SIZE);
/* Search for the table */