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

This commit is contained in:
Akira Ajisaka 2017-05-25 17:06:26 +09:00 committed by Xiaoyu Yao
parent 527c9dde40
commit 70fac5d1d5
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) {