Skip to content

Commit 60d6e9b

Browse files
committed
Use consistent naming
1 parent 9068304 commit 60d6e9b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/host/thread_ptrace.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ OPTION_EXPERIMENTAL_ENTRY("disable-o-n-waitpid-workarounds", 0, G_OPTION_FLAG_RE
5656
"otherwise result in excessive detaching and reattaching",
5757
NULL)
5858

59-
static bool _useBufferedIo = false;
59+
static bool _enableBufferedIo = false;
6060
OPTION_EXPERIMENTAL_ENTRY(
61-
"enable-ptrace-buffered-io", 0, 0, G_OPTION_ARG_NONE, &_useBufferedIo,
61+
"enable-ptrace-buffered-io", 0, 0, G_OPTION_ARG_NONE, &_enableBufferedIo,
6262
"Use buffered IO when reading plugin memory through /proc. This introduces some extra copying "
6363
"but may help performance when making small sequential accesses.",
6464
NULL)
@@ -439,7 +439,7 @@ static void _threadptrace_getChildMemoryHandle(ThreadPtrace* thread) {
439439
return;
440440
}
441441

442-
if (!_useBufferedIo) {
442+
if (!_enableBufferedIo) {
443443
// Buffering only helps when doing small sequential accesses. For
444444
// syscalls that do large accesses (read, write), buffering just adds an
445445
// extra copy.

0 commit comments

Comments
 (0)