summaryrefslogtreecommitdiff
path: root/elf/tst-tls13.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-01-02 10:52:59 +0000
committerJakub Jelinek <jakub@redhat.com>2006-01-02 10:52:59 +0000
commit0db2497936950725ae71e997091ef276a3ec43ee (patch)
tree7d66db137accea00fe402dfabf8e5de3a4af58c6 /elf/tst-tls13.c
parentb9ea6c38033d6ab0bda9dddb34cc7a4c6ff82084 (diff)
Updated to fedora-glibc-20060102T1045
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 55fb62e540..06bfbacb5c 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 ());