From: Jeff Law Date: Fri, 17 Sep 1999 21:58:45 +0000 (+0000) Subject: Fix typo in last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f5b33d79596f2c14db954d9fb126eaea9ecd829;p=binutils-gdb.git Fix typo in last change. --- diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 1dfe8f4ca4b..e33e0ca5fc7 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); }