summaryrefslogtreecommitdiff
path: root/lib/iolog/regress/iolog_mkpath/check_iolog_mkpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/iolog/regress/iolog_mkpath/check_iolog_mkpath.c')
-rw-r--r--lib/iolog/regress/iolog_mkpath/check_iolog_mkpath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/iolog/regress/iolog_mkpath/check_iolog_mkpath.c b/lib/iolog/regress/iolog_mkpath/check_iolog_mkpath.c
index 5d05f8239..f0ece1a09 100644
--- a/lib/iolog/regress/iolog_mkpath/check_iolog_mkpath.c
+++ b/lib/iolog/regress/iolog_mkpath/check_iolog_mkpath.c
@@ -66,7 +66,7 @@ int
main(int argc, char *argv[])
{
char testdir[] = "mkpath.XXXXXX";
- char *rmargs[] = { "rm", "-rf", NULL, NULL };
+ const char *rmargs[] = { "rm", "-rf", NULL, NULL };
int ch, status, ntests = 0, errors = 0;
initprogname(argc > 0 ? argv[0] : "check_iolog_mkpath");
@@ -97,7 +97,7 @@ main(int argc, char *argv[])
}
/* Clean up (avoid running via shell) */
- execvp("rm", rmargs);
+ execvp("rm", (char **)rmargs);
wait(&status);
return errors;