summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/dl-fptr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-fptr.c b/sysdeps/generic/dl-fptr.c
index f3542bca2e..9768850846 100644
--- a/sysdeps/generic/dl-fptr.c
+++ b/sysdeps/generic/dl-fptr.c
@@ -220,7 +220,7 @@ _dl_make_fptr (struct link_map *map, const ElfW(Sym) *sym,
INTUSE(_dl_signal_error) (0, NULL, NULL, N_("\
internal error: symidx out of range of fptr table"));
- while (ftab[symidx] == NULL)
+ while (ftab[symidx] == 0)
{
/* GOT has already been relocated in elf_get_dynamic_info -
don't try to relocate it again. */