Replace printf by puts for fixed strings. This would avoid issues caused
by formats introduced in translated strings.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user