Module Name:    src
Committed By:   skrll
Date:           Sun Dec 19 17:17:50 UTC 2010

Modified Files:
        src/libexec/ld.elf_so: rtld.c

Log Message:
Remove unnecessary #ifdef RTLD_DEBUG


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/libexec/ld.elf_so/rtld.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ld.elf_so/rtld.c
diff -u src/libexec/ld.elf_so/rtld.c:1.134 src/libexec/ld.elf_so/rtld.c:1.135
--- src/libexec/ld.elf_so/rtld.c:1.134	Thu Dec 16 22:47:27 2010
+++ src/libexec/ld.elf_so/rtld.c	Sun Dec 19 17:17:50 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: rtld.c,v 1.134 2010/12/16 22:47:27 joerg Exp $	 */
+/*	$NetBSD: rtld.c,v 1.135 2010/12/19 17:17:50 skrll Exp $	 */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.134 2010/12/16 22:47:27 joerg Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.135 2010/12/19 17:17:50 skrll Exp $");
 #endif /* not lint */
 
 #include <err.h>
@@ -744,9 +744,7 @@
 		linkp = &_rtld_objlist->next;
 		while ((obj = *linkp) != NULL) {
 			if (obj->refcount == 0) {
-#ifdef RTLD_DEBUG
 				dbg(("unloading \"%s\"", obj->path));
-#endif
 				if (obj->ehdr != MAP_FAILED)
 					munmap(obj->ehdr, _rtld_pagesz);
 				munmap(obj->mapbase, obj->mapsize);

Reply via email to