summaryrefslogtreecommitdiff
path: root/libexec/ld.so/resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ld.so/resolve.c')
-rw-r--r--libexec/ld.so/resolve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/resolve.c b/libexec/ld.so/resolve.c
index 62dd3bffe4b..d79362cf0de 100644
--- a/libexec/ld.so/resolve.c
+++ b/libexec/ld.so/resolve.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolve.c,v 1.30 2005/09/19 02:31:04 drahn Exp $ */
+/* $OpenBSD: resolve.c,v 1.31 2005/09/19 21:08:43 kurt Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -342,7 +342,7 @@ _dl_find_symbol(const char *name, const Elf_Sym **ref,
ref, &weak_sym, &weak_object)) {
object = m->data;
found = 1;
- break;
+ goto found;
}
}
}