about summary refs log tree commit diff
path: root/rt/tst-mqueue7.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt/tst-mqueue7.c')
-rw-r--r--rt/tst-mqueue7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/tst-mqueue7.c b/rt/tst-mqueue7.c
index 35fd56df36..34222f8345 100644
--- a/rt/tst-mqueue7.c
+++ b/rt/tst-mqueue7.c
@@ -93,7 +93,7 @@ do_test (int argc, char **argv)
   snprintf (after_exec_arg, sizeof (after_exec_arg),
 	    "--after-exec=0x%lx", (long) q);
 
-  char *newargv[argc + 2];
+  const char *newargv[argc + 2];
   for (int i = 1; i < argc; ++i)
     newargv[i - 1] = argv[i];
   newargv[argc - 1] = "--direct";