summaryrefslogtreecommitdiff
path: root/src/coreclr/hosts/unixcorerun/corerun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/coreclr/hosts/unixcorerun/corerun.cpp')
-rw-r--r--src/coreclr/hosts/unixcorerun/corerun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coreclr/hosts/unixcorerun/corerun.cpp b/src/coreclr/hosts/unixcorerun/corerun.cpp
index da886d4338..4e5c9d9839 100644
--- a/src/coreclr/hosts/unixcorerun/corerun.cpp
+++ b/src/coreclr/hosts/unixcorerun/corerun.cpp
@@ -127,7 +127,7 @@ int corerun(const int argc, const char* argv[])
// Make sure we have a full path for argv[0].
std::string argv0AbsolutePath;
- if (!GetAbsolutePath(argv[0], argv0AbsolutePath))
+ if (!GetEntrypointExecutableAbsolutePath(argv0AbsolutePath))
{
perror("Could not get full path");
return -1;