summaryrefslogtreecommitdiff
path: root/source/tools/acpihelp/ahdecode.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2017-12-14 22:56:53 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2017-12-14 22:56:53 +0000
commit9ff5d7eeed8c4043df7a61ffe5fd37b481537884 (patch)
treeae5d2fdb93f45dd3fa526aa0d7a67ad8e8c98ec7 /source/tools/acpihelp/ahdecode.c
parente692a0ddd0131f04acfda4c63b1a4c0c805feef5 (diff)
Notes
Diffstat (limited to 'source/tools/acpihelp/ahdecode.c')
-rw-r--r--source/tools/acpihelp/ahdecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/acpihelp/ahdecode.c b/source/tools/acpihelp/ahdecode.c
index ffaede804ff4..30ea9741b8df 100644
--- a/source/tools/acpihelp/ahdecode.c
+++ b/source/tools/acpihelp/ahdecode.c
@@ -311,7 +311,7 @@ AhFindPredefinedNames (
}
Name[0] = '_';
- strncpy (&Name[1], NamePrefix, 7);
+ AcpiUtSafeStrncpy (&Name[1], NamePrefix, 7);
Length = strlen (Name);
if (Length > ACPI_NAME_SIZE)