summaryrefslogtreecommitdiff
path: root/lib/csu
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-07-14 12:37:52 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-07-14 12:37:52 +0000
commita460d7805b6afbb011d926a232e21b3c70d23189 (patch)
tree8bc386decbd0f3ad54c8465bb29bf9c474909448 /lib/csu
parent7db947bec0fc3c6e9960a56a9c4c50e3d24486de (diff)
Fix an oversight in revision 1.9. ld_entry was set in one more spot.
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/common.c b/lib/csu/common.c
index 78088dd5c92..47065929dbf 100644
--- a/lib/csu/common.c
+++ b/lib/csu/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.10 2002/07/11 14:05:42 art Exp $ */
+/* $OpenBSD: common.c,v 1.11 2002/07/14 12:37:51 art Exp $ */
/* $NetBSD: common.c,v 1.4 1995/09/23 22:34:20 pk Exp $ */
/*
* Copyright (c) 1993,1995 Paul Kranenburg
@@ -148,7 +148,7 @@ __load_rtld(dp)
if ((*entry)(CRT_VERSION_BSD_3, &crt) == -1) {
_FATAL("ld.so failed\n");
}
- ld_entry = dp->d_entry;
+ ld_entry = &dp->d_entry;
return;
}
atexit((*ld_entry)->dlexit);