about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-23 05:05:02 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-23 05:05:02 +0000
commitae6b1dfc2b75a540cd49b20c1bbe4ebf358f7676 (patch)
tree5b38c614cd84d236c5da03da114a0abe3f16bba1
parentce84ab619fc15667e63f85a35b2dfbbbe4a0db24 (diff)
downloadglibc-ae6b1dfc2b75a540cd49b20c1bbe4ebf358f7676.tar.gz
glibc-ae6b1dfc2b75a540cd49b20c1bbe4ebf358f7676.tar.xz
glibc-ae6b1dfc2b75a540cd49b20c1bbe4ebf358f7676.zip
Avoid warning.
-rw-r--r--sysdeps/generic/dl-sysdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c
index 2a47a320da..22e8e8faf6 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -1,5 +1,5 @@
 /* Operating system support for run-time dynamic linker.  Generic Unix version.
-   Copyright (C) 1995-1998, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000-2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -352,7 +352,9 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
   result = (struct r_strlenpair *) malloc (*sz * sizeof (*result) + total);
   if (result == NULL)
     {
+#ifndef USE_TLS
     no_memory:
+#endif
       INTUSE(_dl_signal_error) (ENOMEM, NULL, NULL,
 				N_("cannot create capability list"));
     }