1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

(handle_file): Swap p_type.

This commit is contained in:
Ulrich Drepper
2002-12-21 21:39:34 +00:00
parent 7d277fb688
commit 894dc70b5e

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)