swconfig: swlib.c: remove const qualifier for val.s since this is supposed to be free'd

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 46230
This commit is contained in:
John Crispin
2015-07-07 13:45:56 +00:00
parent 08d4d4921d
commit 2b9bdf4d6f
2 changed files with 2 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ struct switch_val {
int err;
int port_vlan;
union {
const char *s;
char *s;
int i;
struct switch_port *ports;
} value;