diff options
Diffstat (limited to 'networking/zcip.c')
-rw-r--r-- | networking/zcip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/zcip.c b/networking/zcip.c index 5d57c4287..b56870652 100644 --- a/networking/zcip.c +++ b/networking/zcip.c | |||
@@ -130,10 +130,10 @@ static void arp(int fd, struct sockaddr *saddr, int op, | |||
130 | /** | 130 | /** |
131 | * Run a script. | 131 | * Run a script. |
132 | */ | 132 | */ |
133 | static int run(char *script, char *arg, char *intf, struct in_addr *ip) | 133 | static int run(const char *script, const char *arg, const char *intf, struct in_addr *ip) |
134 | { | 134 | { |
135 | int pid, status; | 135 | int pid, status; |
136 | char *why; | 136 | const char *why; |
137 | 137 | ||
138 | if(1) { //always true: if (script != NULL) | 138 | if(1) { //always true: if (script != NULL) |
139 | VDBG("%s run %s %s\n", intf, script, arg); | 139 | VDBG("%s run %s %s\n", intf, script, arg); |
@@ -207,7 +207,7 @@ static int state = PROBE; | |||
207 | int zcip_main(int argc, char *argv[]) | 207 | int zcip_main(int argc, char *argv[]) |
208 | { | 208 | { |
209 | struct ether_addr eth_addr; | 209 | struct ether_addr eth_addr; |
210 | char *why; | 210 | const char *why; |
211 | int fd; | 211 | int fd; |
212 | 212 | ||
213 | // parse commandline: prog [options] ifname script | 213 | // parse commandline: prog [options] ifname script |