aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-21 18:58:31 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-21 18:58:31 +0000
commitb33ed4326d7d5a0f2ab07df4dfe723520d95a33e (patch)
treeeeda429fc7149ba7b3fee8c50d6c6e27d2a8300e /elf
parentf9a06dc1b5f83ddd6448c6bf80dfe9e02eb97a3d (diff)
downloadglibc-b33ed4326d7d5a0f2ab07df4dfe723520d95a33e.zip
glibc-b33ed4326d7d5a0f2ab07df4dfe723520d95a33e.tar.gz
glibc-b33ed4326d7d5a0f2ab07df4dfe723520d95a33e.tar.bz2
Update.
2004-04-21 Jakub Jelinek <jakub@redhat.com> * posix/tst-chmod.c (do_test): Fix a typo. * elf/lateglobal.c (main): Fix error checks. Patch by Stephen Clarke <stephen.clarke@st.com>. * manual/ctype.texi (isblank, iswblank): Mark as ISO functions, mention they have been added in ISO C99. Reported by Ben Pfaff <blp@cs.stanford.edu>. 2004-03-31 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
Diffstat (limited to 'elf')
-rw-r--r--elf/lateglobal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/lateglobal.c b/elf/lateglobal.c
index 2f6c269..4a1a7cd 100644
--- a/elf/lateglobal.c
+++ b/elf/lateglobal.c
@@ -13,14 +13,14 @@ main (void)
mtrace ();
h[0] = dlopen ("ltglobmod1.so", RTLD_LAZY);
- if (h == NULL)
+ if (h[0] == NULL)
{
printf ("%s: cannot open %s: %s",
__FUNCTION__, "ltglobmod1.so", dlerror ());
exit (EXIT_FAILURE);
}
h[1] = dlopen ("ltglobmod2.so", RTLD_LAZY);
- if (h == NULL)
+ if (h[1] == NULL)
{
printf ("%s: cannot open %s: %s",
__FUNCTION__, "ltglobmod2.so", dlerror ());