summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-06-07 15:20:00 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-06-07 15:20:00 +0000
commite76ec0573229cc1af812974522cea82313f32014 (patch)
treeb292741fb47c79124d4d42f6da0850bcceb1b916 /libexec
parentaaf1a21b032d5a8a898390a75bb0008c4bc1b8fb (diff)
use the func args and not the key material to init a new plabel
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.so/hppa/rtld_machine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/hppa/rtld_machine.c b/libexec/ld.so/hppa/rtld_machine.c
index 1011f3f75d8..5e59c32689d 100644
--- a/libexec/ld.so/hppa/rtld_machine.c
+++ b/libexec/ld.so/hppa/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.5 2004/06/07 07:13:35 mickey Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.6 2004/06/07 15:19:59 mickey Exp $ */
/*
* Copyright (c) 2004 Michael Shalayeff
@@ -83,8 +83,8 @@ _dl_md_plabel(Elf_Addr pc, Elf_Addr *sl)
p = _dl_malloc(sizeof(*p));
if (p == NULL)
_dl_exit(5);
- p->pc = key.pc;
- p->sl = key.sl;
+ p->pc = pc;
+ p->sl = sl;
SPLAY_INSERT(_dl_md_plabels, &_dl_md_plabel_root, p);
}