diff options
Diffstat (limited to 'src/pal/src/debug/debug.cpp')
-rw-r--r-- | src/pal/src/debug/debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/src/debug/debug.cpp b/src/pal/src/debug/debug.cpp index 5461ac6265..756e615d66 100644 --- a/src/pal/src/debug/debug.cpp +++ b/src/pal/src/debug/debug.cpp @@ -857,7 +857,7 @@ DBGDetachProcess( if (nbAttachLeft == 0) { #if HAVE_PROCFS_CTL - sprintf(ctlPath, sizeof(ctlPath), "/proc/%d/ctl", processId); + snprintf(ctlPath, sizeof(ctlPath), "/proc/%d/ctl", processId); fd = InternalOpen(pThread, ctlPath, O_WRONLY); if (fd == -1) { |