Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25438 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -326,7 +326,7 @@ test_executable(const char *name, char *invoker)
|
||||
}
|
||||
} else if (status == B_OK) {
|
||||
struct Elf32_Ehdr *elfHeader = (struct Elf32_Ehdr *)buffer;
|
||||
if (elfHeader->e_entry == NULL) {
|
||||
if (elfHeader->e_entry == 0) {
|
||||
// we don't like to open shared libraries
|
||||
status = B_NOT_AN_EXECUTABLE;
|
||||
} else if (invoker)
|
||||
|
||||
Reference in New Issue
Block a user