diff options
author | Jeff Law <law@redhat.com> | 1999-09-17 21:58:45 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1999-09-17 21:58:45 +0000 |
commit | 9f5b33d79596f2c14db954d9fb126eaea9ecd829 (patch) | |
tree | 4e1676682dd22808fdd20fdd107db7dfe17992e5 /ld/emultempl/elf32.em | |
parent | 7acbfc6b56180ef7555d326d3b9735e9be0429de (diff) | |
download | gdb-9f5b33d79596f2c14db954d9fb126eaea9ecd829.zip gdb-9f5b33d79596f2c14db954d9fb126eaea9ecd829.tar.gz gdb-9f5b33d79596f2c14db954d9fb126eaea9ecd829.tar.bz2 |
Fix typo in last change.
Diffstat (limited to 'ld/emultempl/elf32.em')
-rw-r--r-- | ld/emultempl/elf32.em | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 1dfe8f4..e33e0ca 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -144,7 +144,7 @@ gld${EMULATION_NAME}_open_dynamic_archive (arch, search, entry) filename = strrchr (entry->filename, '/'); filename++; - needed_name = (char *) xmalloc (strlen (filename)) + 1; + needed_name = (char *) xmalloc (strlen (filename) + 1); strcpy (needed_name, filename); bfd_elf_set_dt_needed_name (entry->the_bfd, needed_name); } |