YARN-6141. ppc64le on Linux doesn't trigger __linux get_executable codepath. Contributed by Sonia Garudi and Ayappan.

(cherry picked from commit bc28da65fb)
(cherry picked from commit ca1c0cbc62)
This commit is contained in:
Akira Ajisaka 2017-05-25 17:06:26 +09:00
parent caad191c0e
commit d50f240784
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ char* get_executable(char *argv0) {
return __get_exec_sysctl(mib);
}
#elif defined(__linux)
#elif defined(__linux__)
char* get_executable(char *argv0) {