diff options
Diffstat (limited to 'elf/tst-tls13.c')
-rw-r--r-- | elf/tst-tls13.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/tst-tls13.c b/elf/tst-tls13.c index 06bfbacb5c..55fb62e540 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) { - for (int i = 0; i < 1000;) + int i; + for (i = 0; i < 1000;) { printf ("round %d\n",++i); - void *h = dlopen ("$ORIGIN/tst-tlsmod13a.so", RTLD_LAZY); + void *h = dlopen ("tst-tlsmod13a.so", RTLD_LAZY); if (h == NULL) { printf ("cannot load: %s\n", dlerror ()); |