From: Konstantin Belousov <[email protected]>

---
 tests/test-ptrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test-ptrace.c b/tests/test-ptrace.c
index 17a1b61..4708293 100644
--- a/tests/test-ptrace.c
+++ b/tests/test-ptrace.c
@@ -178,7 +178,7 @@ main (int argc, char **argv)
 
   if (argc == 1)
     {
-      char *args[] = { "self", "/bin/ls", "/usr", NULL };
+      static char *args[] = { "self", "/bin/ls", "/usr", NULL };
 
       /* automated test case */
       argv = args;
-- 
1.7.11.5


_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to