diff options
Diffstat (limited to 'source/components/debugger/dbfileio.c')
| -rw-r--r-- | source/components/debugger/dbfileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/components/debugger/dbfileio.c b/source/components/debugger/dbfileio.c index f9d7635ecd0c8..5d526207a5cbc 100644 --- a/source/components/debugger/dbfileio.c +++ b/source/components/debugger/dbfileio.c @@ -112,7 +112,7 @@ AcpiDbOpenDebugFile ( } AcpiOsPrintf ("Debug output file %s opened\n", Name); - ACPI_STRNCPY (AcpiGbl_DbDebugFilename, Name, + strncpy (AcpiGbl_DbDebugFilename, Name, sizeof (AcpiGbl_DbDebugFilename)); AcpiGbl_DbOutputToFile = TRUE; |
