summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2002-11-05 16:53:19 +0000
committerdrahn <drahn@openbsd.org>2002-11-05 16:53:19 +0000
commit7c79196bdc27085787d8c9f73b1185e8ed143727 (patch)
treeee4833e70cbdd596026091dff668cfcd0adb3e13
parent-bytes_in/_out and total_in/_out are off_t, not long. fixes a few displaying (diff)
downloadwireguard-openbsd-7c79196bdc27085787d8c9f73b1185e8ed143727.tar.xz
wireguard-openbsd-7c79196bdc27085787d8c9f73b1185e8ed143727.zip
Use define, not number.
-rw-r--r--libexec/ld.so/powerpc/rtld_machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/powerpc/rtld_machine.c b/libexec/ld.so/powerpc/rtld_machine.c
index f8933adb032..389e7fd353d 100644
--- a/libexec/ld.so/powerpc/rtld_machine.c
+++ b/libexec/ld.so/powerpc/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.15 2002/09/09 19:06:18 drahn Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.16 2002/11/05 16:53:19 drahn Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -503,7 +503,7 @@ _dl_bind(elf_object_t *object, int reloff)
r_addr = (Elf_Addr *)(object->load_offs + relas->r_offset);
this = NULL;
ooff = _dl_find_symbol(symn, _dl_objects, &this,
- SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, 0);
+ SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, SYM_NOTPLT);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
*((int *)0) = 0; /* XXX */