preparatory patch for -Wwrite-strings #5

This commit is contained in:
Denis Vlasenko
2007-01-29 23:43:18 +00:00
parent ab2aea4447
commit 89ef65f024
11 changed files with 49 additions and 60 deletions

View File

@@ -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;