Index: runtime/bin/platform_macos.cc |
diff --git a/runtime/bin/platform_macos.cc b/runtime/bin/platform_macos.cc |
index dda9ab8b8c36f896d0a2816de733a11374d85198..b02bca7554f31e8de0237fd29de4f9a8f97a0815 100644 |
--- a/runtime/bin/platform_macos.cc |
+++ b/runtime/bin/platform_macos.cc |
@@ -201,7 +201,7 @@ const char* Platform::ResolveExecutablePath() { |
return NULL; |
} |
// Return the canonical path as the returned path might contain symlinks. |
- const char* canon_path = File::GetCanonicalPath(path); |
+ const char* canon_path = File::GetCanonicalPath(NULL, path); |
return canon_path; |
} |