summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/servers.c2
-rw-r--r--src/core/settings.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/servers.c b/src/core/servers.c
index 3e1d83f0..d5844e7b 100644
--- a/src/core/servers.c
+++ b/src/core/servers.c
@@ -128,7 +128,7 @@ static char *server_create_tag(SERVER_CONNECT_REC *conn)
num = 2;
while (server_find_tag(str->str) != NULL ||
server_find_lookup_tag(str->str) != NULL) {
- g_string_sprintf(str, "%s%d", tag, num);
+ g_string_printf(str, "%s%d", tag, num);
num++;
}
g_free(tag);
diff --git a/src/core/settings.c b/src/core/settings.c
index 902d4cf6..cb196bd1 100644
--- a/src/core/settings.c
+++ b/src/core/settings.c
@@ -500,7 +500,7 @@ void settings_check_module(const char *module)
if (node == NULL) return;
errors = g_string_new(NULL);
- g_string_sprintf(errors, "Unknown settings in configuration "
+ g_string_printf(errors, "Unknown settings in configuration "
"file for module %s:", module);
count = 0;