about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/tile/dl-runtime.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index da8ea6d06f..a0bb465fa2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
+
+	* sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
+	in function argument name.
+
 2014-04-03  David Svoboda  <svoboda@cert.org>
 
 	[BZ #5666]
diff --git a/sysdeps/tile/dl-runtime.c b/sysdeps/tile/dl-runtime.c
index 8bc2911850..bcc00bc74b 100644
--- a/sysdeps/tile/dl-runtime.c
+++ b/sysdeps/tile/dl-runtime.c
@@ -152,8 +152,8 @@ sim_dlclose (ElfW(Addr) map_start)
 }
 
 void internal_function
-_dl_unmap (struct link_map *l)
+_dl_unmap (struct link_map *map)
 {
-  sim_dlclose (l->l_map_start);
+  sim_dlclose (map->l_map_start);
   _dl_unmap_segments (map);
 }