diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-05-02 22:33:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-05-02 22:33:15 +0000 |
commit | ceb927c97124c8b4db5a0b400ab7032c21cddb32 (patch) | |
tree | e30dc029eb06a2bb63b8174a49063f9602b55486 /sysdeps | |
parent | 0a8fe089644dba39e9f02fb291e4ba97e5c0ba7e (diff) | |
download | glibc-ceb927c97124c8b4db5a0b400ab7032c21cddb32.tar.gz glibc-ceb927c97124c8b4db5a0b400ab7032c21cddb32.tar.xz glibc-ceb927c97124c8b4db5a0b400ab7032c21cddb32.zip |
Update.
* sysdeps/generic/dl-fptr.c (_dl_unmap): Fix typo in test. (_dl_make_fptr): Fix typos introduced in last change.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/dl-fptr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/dl-fptr.c b/sysdeps/generic/dl-fptr.c index d7763c58e7..f3542bca2e 100644 --- a/sysdeps/generic/dl-fptr.c +++ b/sysdeps/generic/dl-fptr.c @@ -17,6 +17,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#include <libintl.h> #include <unistd.h> #include <string.h> #include <sys/param.h> @@ -187,7 +188,7 @@ make_fptr_table (struct link_map *map) PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0); if (fptr_table == MAP_FAILED) - INTUSE(_dl_signal)_error (errno, NULL, NULL, + INTUSE(_dl_signal_error) (errno, NULL, NULL, N_("cannot map pages for fptr table")); if (COMPARE_AND_SWAP ((ElfW(Addr) *) &map->l_mach.fptr_table, @@ -282,7 +283,7 @@ _dl_unmap (struct link_map *map) { *(struct fdesc **) ftab[i] = head; head = (struct fdesc *) ftab[i]; - if (tail = NULL) + if (tail == NULL) tail = head; } } |