diff options
author | Denis Vlasenko | 2007-01-29 23:43:18 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-29 23:43:18 +0000 |
commit | 89ef65f02463b27313ff0eba806aa6e4aec10716 (patch) | |
tree | 70eab3e72843b1418ef3d88437c1f1a19169bda8 /networking/zcip.c | |
parent | ab2aea44479fd6f519bccd651a37f30e792b7593 (diff) | |
download | busybox-89ef65f02463b27313ff0eba806aa6e4aec10716.zip busybox-89ef65f02463b27313ff0eba806aa6e4aec10716.tar.gz |
preparatory patch for -Wwrite-strings #5
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 5d57c42..b568706 100644 --- a/networking/zcip.c +++ b/networking/zcip.c @@ -130,10 +130,10 @@ static void arp(int fd, struct sockaddr *saddr, int op, /** * Run a script. */ -static int run(char *script, char *arg, char *intf, struct in_addr *ip) +static int run(const char *script, const char *arg, const char *intf, struct in_addr *ip) { int pid, status; - char *why; + const char *why; if(1) { //always true: if (script != NULL) VDBG("%s run %s %s\n", intf, script, arg); @@ -207,7 +207,7 @@ static int state = PROBE; int zcip_main(int argc, char *argv[]) { struct ether_addr eth_addr; - char *why; + const char *why; int fd; // parse commandline: prog [options] ifname script |