Merge "Attempt to fix Mac build"

This commit is contained in:
Christopher Ferris 2014-01-18 23:47:20 +00:00 committed by Gerrit Code Review
commit 1db584b899

View file

@ -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.