CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: [EMAIL PROTECTED] 2007-10-29 17:56:09
Modified files:
cman/daemon : logging.c
Log message:
Fix format string bug.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/logging.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.12.2.1&r2=1.12.2.2
--- cluster/cman/daemon/logging.c 2007/09/17 13:48:15 1.12.2.1
+++ cluster/cman/daemon/logging.c 2007/10/29 17:56:09 1.12.2.2
@@ -39,7 +39,7 @@
va_start(va, fmt);
vsprintf(log_buf, fmt, va);
va_end(va);
- log_printf(priority, log_buf);
+ log_printf(priority, "%s", log_buf);
}
void init_debug(int subsystems)