From f18976d43dd6aefc3a7077ec982154a6414a37c7 Mon Sep 17 00:00:00 2001 From: Robert Swiecki Date: Fri, 7 Jul 2017 12:14:25 +0200 Subject: [PATCH] net: un-const'ify array --- net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net.c b/net.c index d3963b0..5802b14 100644 --- a/net.c +++ b/net.c @@ -133,7 +133,7 @@ bool netInitNsFromParent(struct nsjconf_t *nsjconf, int pid) char pid_str[256]; snprintf(pid_str, sizeof(pid_str), "%d", pid); - const char *const argv[] = { + const char *argv[] = { "/sbin/ip", "link", "add", "link", (char *)nsjconf->iface_vs, "name", IFACE_NAME, "netns", pid_str, "type", "macvlan", "mode", "bridge", NULL }; -- 2.34.1