Fixed warning.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25438 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-05-10 22:22:08 +00:00
parent 5d0638bf88
commit 3560b757c2
+1 -1
View File
@@ -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)