From 4d132ee3b898448df42a206156f0f0e0f75bef44 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 5 Feb 2020 14:42:38 +0100 Subject: update-ca: fix compiler warning --- update-ca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-ca.c b/update-ca.c index 7bb4f1b..2b3195b 100644 --- a/update-ca.c +++ b/update-ca.c @@ -330,7 +330,7 @@ int main(int a, char **v) free(tmpfile); /* Execute run-parts */ - static const char *run_parts_args[] = { "run-parts", RUNPARTSDIR, 0 }; + static char *const run_parts_args[] = { "run-parts", RUNPARTSDIR, 0 }; execve("/usr/bin/run-parts", run_parts_args, NULL); execve("/bin/run-parts", run_parts_args, NULL); perror("run-parts"); -- cgit v1.2.3-70-g09d2