aboutsummaryrefslogtreecommitdiff
path: root/networking/zcip.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-29 23:43:18 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-29 23:43:18 +0000
commit1a0a65f68efe01e93ef3c083c21a77dee97ca036 (patch)
tree70eab3e72843b1418ef3d88437c1f1a19169bda8 /networking/zcip.c
parentfc6a03ef2fa63dcecef603d178139a779b9e7081 (diff)
downloadbusybox-w32-1a0a65f68efe01e93ef3c083c21a77dee97ca036.tar.gz
busybox-w32-1a0a65f68efe01e93ef3c083c21a77dee97ca036.tar.bz2
busybox-w32-1a0a65f68efe01e93ef3c083c21a77dee97ca036.zip
preparatory patch for -Wwrite-strings #5
git-svn-id: svn://busybox.net/trunk/busybox@17658 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r--networking/zcip.c6
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 */
133static int run(char *script, char *arg, char *intf, struct in_addr *ip) 133static 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;
207int zcip_main(int argc, char *argv[]) 207int 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