summaryrefslogtreecommitdiffstats
path: root/gsm_bs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gsm_bs.cpp')
-rw-r--r--gsm_bs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsm_bs.cpp b/gsm_bs.cpp
index a8f7730..e25732a 100644
--- a/gsm_bs.cpp
+++ b/gsm_bs.cpp
@@ -1005,7 +1005,7 @@ static int socket_retry_cb(struct lcr_timer *timer, void *instance, int index)
int gsm_bs_init(void)
{
gsm->sun.sun_family = AF_UNIX;
- strcpy(gsm->sun.sun_path, "/tmp/bsc_mncc");
+ SCPY(gsm->sun.sun_path, "/tmp/bsc_mncc");
memset(&gsm->socket_retry, 0, sizeof(gsm->socket_retry));
add_timer(&gsm->socket_retry, socket_retry_cb, NULL, 0);