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:
Akira Ajisaka 2017-05-25 17:06:26 +09:00
parent dd552a97b7
commit ca1c0cbc62
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

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) {