Changeset 25438

Show
Ignore:
Timestamp:
05/10/08 17:22:08 (5 days ago)
Author:
bonefish
Message:
Fixed warning.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • haiku/trunk/src/system/runtime_loader/runtime_loader.c

    r25194 r25438  
    327327        } else if (status == B_OK) { 
    328328                struct Elf32_Ehdr *elfHeader = (struct Elf32_Ehdr *)buffer; 
    329                 if (elfHeader->e_entry == NULL) { 
     329                if (elfHeader->e_entry == 0) { 
    330330                        // we don't like to open shared libraries 
    331331                        status = B_NOT_AN_EXECUTABLE;