changeset 6790:7a985b3e6a7c HEAD

Fix to last logging changes.
author Timo Sirainen <tss@iki.fi>
date Mon, 12 Nov 2007 19:02:14 +0200
parents ee9bc72e0ed2
children 4d6ba6cd1bbc
files src/lib/failures.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/failures.c	Mon Nov 12 18:59:18 2007 +0200
+++ b/src/lib/failures.c	Mon Nov 12 19:02:14 2007 +0200
@@ -135,7 +135,7 @@
 	str_append(str, prefix);
 
 	/* make sure there's no %n in there and fix %m */
-	str_vprintfa(str, printf_format_fix_unsafe(format), args);
+	str_vprintfa(str, printf_format_fix(format), args);
 	str_append_c(str, '\n');
 
 	ret = log_fd_write(fd, str_data(str), str_len(str));