(handle_file): Swap p_type.

This commit is contained in:
Ulrich Drepper 2002-12-21 21:39:34 +00:00
parent 7d277fb688
commit 894dc70b5e
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ AB(handle_file) (const char *fname, int fd)
/* Search for the PT_DYNAMIC entry. */
size_t cnt;
for (cnt = 0; cnt < phnum; ++cnt)
if (phdr[cnt].p_type == PT_DYNAMIC)
if (SWAP (phdr[cnt].p_type) == PT_DYNAMIC)
break;
if (cnt == phnum)