g_free(rc_pathl);
if (!ssi)
{
- gchar *buf;
-
- buf = g_strdup_printf(_("error saving config file: %s\n"), rc_path);
- print_term(buf);
- g_free(buf);
-
+ printf_term(_("error saving config file: %s\n"), rc_path);
g_free(rc_path);
return;
}
if (secure_close(ssi))
{
- gchar *buf;
-
- buf = g_strdup_printf(_("error saving config file: %s\nerror: %s\n"), rc_path,
- secsave_strerror(secsave_errno));
- print_term(buf);
- g_free(buf);
-
+ printf_term(_("error saving config file: %s\nerror: %s\n"), rc_path,
+ secsave_strerror(secsave_errno));
g_free(rc_path);
return;
}