YARN-6141. ppc64le on Linux doesn't trigger __linux get_executable codepath. Contributed by Sonia Garudi and Ayappan.
This commit is contained in:
parent
6a52b5e144
commit
bc28da65fb
|
@ -142,7 +142,7 @@ char* get_executable(char *argv0) {
|
||||||
return __get_exec_sysctl(mib);
|
return __get_exec_sysctl(mib);
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined(__linux)
|
#elif defined(__linux__)
|
||||||
|
|
||||||
|
|
||||||
char* get_executable(char *argv0) {
|
char* get_executable(char *argv0) {
|
||||||
|
|
Loading…
Reference in New Issue