* commit '719b0198a324582cbf2c01236bb03746475a52e0': Attempt to fix Mac build
This commit is contained in:
commit
884116c84a
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…
Add table
Reference in a new issue