Replace printf by puts for fixed strings. This would avoid issues caused

by formats introduced in translated strings.
This commit is contained in:
nekral-guest
2008-01-24 21:07:14 +00:00
parent 8c229ea473
commit 28a9441f4f
7 changed files with 15 additions and 14 deletions

View File

@@ -257,8 +257,8 @@ int putdef_str (const char *name, const char *value)
* Save off the value.
*/
if ((cp = strdup (value)) == NULL) {
fprintf (stderr,
_("Could not allocate space for config info.\n"));
fputs (_("Could not allocate space for config info.\n"),
stderr);
SYSLOG ((LOG_ERR, "could not allocate space for config info"));
return -1;
}