net: un-const'ify array
authorRobert Swiecki <robert@swiecki.net>
Fri, 7 Jul 2017 10:14:25 +0000 (12:14 +0200)
committerRobert Swiecki <robert@swiecki.net>
Fri, 7 Jul 2017 10:14:25 +0000 (12:14 +0200)
net.c

diff --git a/net.c b/net.c
index d3963b0373f2a784201e1bbd518617b429ccaddb..5802b14c2de8f6cf218feb787e5b45e8c2c9ba93 100644 (file)
--- 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
        };