From 3184fe80e403b9dc6d5fe3b7ebcd9d375363e2e4 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 5 Feb 2020 14:42:38 +0100 Subject: [PATCH 1/3] 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"); -- 2.25.0