gprs_ns2: Make reason const
Change-Id: Ia0db18703d9fd137a5c5fe4474e2d76868a9af9d
diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index ab869c3..9deb3a1 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -60,7 +60,7 @@
/* force vc mode if another configuration forces
* the vc mode. E.g. SNS configuration */
bool force_vc_mode;
- char *force_vc_mode_reason;
+ const char *force_vc_mode_reason;
bool frgre;
struct llist_head vtyvc;
@@ -826,7 +826,7 @@
* \param mode
* \param reason A description shown to the user when a vty command wants to change the mode.
*/
-void gprs_ns2_vty_force_vc_mode(bool force, enum gprs_ns2_vc_mode mode, char *reason)
+void gprs_ns2_vty_force_vc_mode(bool force, enum gprs_ns2_vc_mode mode, const char *reason)
{
priv.force_vc_mode = force;