am 1db584b8: Merge "Attempt to fix Mac build"
* commit '1db584b899dffca884c3842c07da189f7c9af470': Attempt to fix Mac build
This commit is contained in:
commit
719b0198a3
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ bool BacktraceMap::Build() {
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
// cmd is guaranteed to always be big enough to hold this string.
|
// 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");
|
FILE* fp = popen(cmd, "r");
|
||||||
#else
|
#else
|
||||||
// path is guaranteed to always be big enough to hold this string.
|
// path is guaranteed to always be big enough to hold this string.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue