diff options
Diffstat (limited to 'elf/tst-execstack.c')
-rw-r--r-- | elf/tst-execstack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-execstack.c b/elf/tst-execstack.c index 21eaa9bc90..4b06615451 100644 --- a/elf/tst-execstack.c +++ b/elf/tst-execstack.c @@ -48,7 +48,7 @@ waiter_thread (void *arg) static int do_test (void) { - void *f; + static void *f; /* Address of this is used in other threads. */ #if USE_PTHREADS /* Create some threads while stacks are nonexecutable. */ |