X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=gsm_ms.cpp;h=e091434a64a348772a52b95ac779bb1db9daf003;hp=1e33162df5ec9199d03f749143a4da681dd5b472;hb=ca68dbb3a581cd9b4b89253aa2a418721f993f72;hpb=132d639333dd5e7a7832dcd9784181ee09a16f9e 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);