YARN-6141. ppc64le on Linux doesn't trigger __linux get_executable codepath. Contributed by Sonia Garudi and Ayappan.
(cherry picked from commit bc28da65fb1c67904aa3cefd7273cb7423521014)
This commit is contained in:
parent
dd552a97b7
commit
ca1c0cbc62
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user