Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so lib/49813: Release mutex on error.
details: https://anonhg.NetBSD.org/src/rev/ee6f89bbe8cf
branches: trunk
changeset: 337163:ee6f89bbe8cf
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Apr 04 18:51:57 2015 +0000
description:
lib/49813: Release mutex on error.
diffstat:
libexec/ld.elf_so/rtld.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r dcfde31e9c07 -r ee6f89bbe8cf libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c Sat Apr 04 15:46:53 2015 +0000
+++ b/libexec/ld.elf_so/rtld.c Sat Apr 04 18:51:57 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.c,v 1.175 2015/03/05 09:49:53 skrll Exp $ */
+/* $NetBSD: rtld.c,v 1.176 2015/04/04 18:51:57 joerg Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.175 2015/03/05 09:49:53 skrll Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.176 2015/04/04 18:51:57 joerg Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -1269,7 +1269,7 @@
obj = _rtld_obj_from_addr(addr);
if (obj == NULL) {
_rtld_error("No shared object contains address");
- lookup_mutex_enter();
+ lookup_mutex_exit();
return 0;
}
info->dli_fname = obj->path;
Home |
Main Index |
Thread Index |
Old Index