aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tls13.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-12 18:26:36 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-12 18:26:36 +0000
commit0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (patch)
tree2ea1f8305970753e4a657acb2ccc15ca3eec8e2c /elf/tst-tls13.c
parent7d58530341304d403a6626d7f7a1913165fe2f32 (diff)
downloadglibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.zip
glibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.tar.gz
glibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.tar.bz2
2.5-18.1
Diffstat (limited to 'elf/tst-tls13.c')
-rw-r--r--elf/tst-tls13.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/tst-tls13.c b/elf/tst-tls13.c
index 55fb62e..06bfbac 100644
--- a/elf/tst-tls13.c
+++ b/elf/tst-tls13.c
@@ -2,17 +2,17 @@
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
static int
do_test (void)
{
- int i;
- for (i = 0; i < 1000;)
+ for (int i = 0; i < 1000;)
{
printf ("round %d\n",++i);
- void *h = dlopen ("tst-tlsmod13a.so", RTLD_LAZY);
+ void *h = dlopen ("$ORIGIN/tst-tlsmod13a.so", RTLD_LAZY);
if (h == NULL)
{
printf ("cannot load: %s\n", dlerror ());