summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg2011-07-30 09:46:27 +0200
committerAndreas Eversberg2011-07-30 09:46:27 +0200
commitca68dbb3a581cd9b4b89253aa2a418721f993f72 (patch)
treec723a9db9ef1f1bd4b2ed16aac1530cf60366c5d
parentMake LCR compile with latest osmocomBB code. (diff)
downloadlcr-ca68dbb3a581cd9b4b89253aa2a418721f993f72.tar.gz
lcr-ca68dbb3a581cd9b4b89253aa2a418721f993f72.tar.xz
lcr-ca68dbb3a581cd9b4b89253aa2a418721f993f72.zip
Make install now works again. (Missing and required macro defintion)
-rw-r--r--gsm_ms.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsm_ms.cpp b/gsm_ms.cpp
index 1e33162..e091434 100644
--- a/gsm_ms.cpp
+++ b/gsm_ms.cpp
@@ -858,7 +858,7 @@ int gsm_ms_init(void)
len = strlen(home) + 1 + sizeof(osmocomcfg);
config_file = (char *)talloc_size(l23_ctx, len);
if (config_file != NULL)
- snprintf(config_file, len, "%s/%s", home, osmocomcfg);
+ UNPRINT(config_file, len, "%s/%s", home, osmocomcfg);
}
/* save the config file directory name */
config_dir = talloc_strdup(l23_ctx, config_file);