summaryrefslogtreecommitdiff
path: root/libexec/ld.so/library.c
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2005-09-28 21:56:25 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2005-09-28 21:56:25 +0000
commita2c5de50789c2379a62d1f188c8f3d2505e7ea3e (patch)
treeec3e995be592482e5114660b18d1e26f8de8e997 /libexec/ld.so/library.c
parent5dff8ac7c7c6a4f716d8746b411210c0563871c8 (diff)
correct last commit, in both files.
Diffstat (limited to 'libexec/ld.so/library.c')
-rw-r--r--libexec/ld.so/library.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/library.c b/libexec/ld.so/library.c
index a08d5d3f410..88ee59b3353 100644
--- a/libexec/ld.so/library.c
+++ b/libexec/ld.so/library.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: library.c,v 1.44 2005/09/28 20:35:23 drahn Exp $ */
+/* $OpenBSD: library.c,v 1.45 2005/09/28 21:56:24 drahn Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
@@ -59,8 +59,8 @@ _dl_unload_shlib(elf_object_t *object)
{
struct dep_node *n;
DL_DEB(("unload_shlib called on %s\n", object->load_name));
- if (object->refcount == 0 && (object->status & STATUS_UNLOADED) == 0) {
- object->status |= STATUS_UNLOADED;
+ if (object->refcount == 0 && (object->status & STAT_UNLOADED) == 0) {
+ object->status |= STAT_UNLOADED;
TAILQ_FOREACH(n, &object->child_list, next_sib)
_dl_unload_shlib(n->data);
DL_DEB(("unload_shlib unloading on %s\n", object->load_name));