summaryrefslogtreecommitdiff
path: root/update-ca.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-02-05 14:42:38 +0100
committerMax Rees <maxcrees@me.com>2020-06-02 19:00:38 -0500
commit4d132ee3b898448df42a206156f0f0e0f75bef44 (patch)
tree0c6b513364559f501b850153734d213b1e7feb07 /update-ca.c
parent4bf076391245450e2667eb60510b94faeb686a7f (diff)
downloadca-certificates-4d132ee3b898448df42a206156f0f0e0f75bef44.tar.gz
ca-certificates-4d132ee3b898448df42a206156f0f0e0f75bef44.tar.bz2
ca-certificates-4d132ee3b898448df42a206156f0f0e0f75bef44.tar.xz
ca-certificates-4d132ee3b898448df42a206156f0f0e0f75bef44.zip
update-ca: fix compiler warning
Diffstat (limited to 'update-ca.c')
-rw-r--r--update-ca.c2
1 files changed, 1 insertions, 1 deletions
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");