* commit 'f95d880fe7e9a8860038a5c8391b89cfbeb0ce76': Attempt to fix Mac build
This commit is contained in:
commit
10c51a3875
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ bool BacktraceMap::Build() {
|
|||
|
||||
#if defined(__APPLE__)
|
||||
// cmd is guaranteed to always be big enough to hold this string.
|
||||
sprintf(cmd, "vmmap -w -resident -submap -allSplitLibs -interleaved %d", pid);
|
||||
sprintf(cmd, "vmmap -w -resident -submap -allSplitLibs -interleaved %d", pid_);
|
||||
FILE* fp = popen(cmd, "r");
|
||||
#else
|
||||
// path is guaranteed to always be big enough to hold this string.
|
||||
|
|
Loading…
Reference in a new issue