diff options
author | John Crispin <john@openwrt.org> | 2015-07-07 13:45:56 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-07-07 13:45:56 +0000 |
commit | 2b9bdf4d6f665db76dc3f56efb2bb74fe2a7a3d0 (patch) | |
tree | 30e343bdb5336a3de972f2fcf74247834fc2d405 /package/network/config/swconfig/src/swlib.h | |
parent | 08d4d4921d5f93c063e4fed545a63d23ba71648c (diff) | |
download | mtk-20170518-2b9bdf4d6f665db76dc3f56efb2bb74fe2a7a3d0.zip mtk-20170518-2b9bdf4d6f665db76dc3f56efb2bb74fe2a7a3d0.tar.gz mtk-20170518-2b9bdf4d6f665db76dc3f56efb2bb74fe2a7a3d0.tar.bz2 |
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
Diffstat (limited to 'package/network/config/swconfig/src/swlib.h')
-rw-r--r-- | package/network/config/swconfig/src/swlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/swconfig/src/swlib.h b/package/network/config/swconfig/src/swlib.h index bb2ebd8..28bdd7f 100644 --- a/package/network/config/swconfig/src/swlib.h +++ b/package/network/config/swconfig/src/swlib.h @@ -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; |