aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/iplink.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-29 23:43:18 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-29 23:43:18 +0000
commit89ef65f02463b27313ff0eba806aa6e4aec10716 (patch)
tree70eab3e72843b1418ef3d88437c1f1a19169bda8 /networking/libiproute/iplink.c
parentab2aea44479fd6f519bccd651a37f30e792b7593 (diff)
downloadbusybox-w32-89ef65f02463b27313ff0eba806aa6e4aec10716.tar.gz
busybox-w32-89ef65f02463b27313ff0eba806aa6e4aec10716.tar.bz2
busybox-w32-89ef65f02463b27313ff0eba806aa6e4aec10716.zip
preparatory patch for -Wwrite-strings #5
Diffstat (limited to 'networking/libiproute/iplink.c')
-rw-r--r--networking/libiproute/iplink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c
index ae41ab308..cb6ee962b 100644
--- a/networking/libiproute/iplink.c
+++ b/networking/libiproute/iplink.c
@@ -25,7 +25,7 @@
25/* take from linux/sockios.h */ 25/* take from linux/sockios.h */
26#define SIOCSIFNAME 0x8923 /* set interface name */ 26#define SIOCSIFNAME 0x8923 /* set interface name */
27 27
28static int on_off(char *msg) 28static int on_off(const char *msg)
29{ 29{
30 bb_error_msg("error: argument of \"%s\" must be \"on\" or \"off\"", msg); 30 bb_error_msg("error: argument of \"%s\" must be \"on\" or \"off\"", msg);
31 return -1; 31 return -1;