diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-30 02:43:18 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-30 02:43:18 +0300 |
commit | 89ef65f02463b27313ff0eba806aa6e4aec10716 (patch) | |
tree | 70eab3e72843b1418ef3d88437c1f1a19169bda8 /networking/libiproute/iplink.c | |
parent | ab2aea44479fd6f519bccd651a37f30e792b7593 (diff) |
preparatory patch for -Wwrite-strings #5
Diffstat (limited to 'networking/libiproute/iplink.c')
-rw-r--r-- | networking/libiproute/iplink.c | 2 |
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 @@ /* take from linux/sockios.h */ #define SIOCSIFNAME 0x8923 /* set interface name */ -static int on_off(char *msg) +static int on_off(const char *msg) { bb_error_msg("error: argument of \"%s\" must be \"on\" or \"off\"", msg); return -1; |