Index: runtime/bin/platform_linux.cc |
diff --git a/runtime/bin/platform_linux.cc b/runtime/bin/platform_linux.cc |
index 13297fa7e94501041ce8bad4603a7cf239e61a23..a085dff1773d4cdf9e993ce608a01fe85308671e 100644 |
--- a/runtime/bin/platform_linux.cc |
+++ b/runtime/bin/platform_linux.cc |
@@ -114,7 +114,7 @@ const char* Platform::GetExecutableName() { |
} |
const char* Platform::ResolveExecutablePath() { |
- return File::LinkTarget("/proc/self/exe"); |
+ return File::ReadLink("/proc/self/exe"); |
} |
void Platform::Exit(int exit_code) { |