From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 29 Oct 2007 17:56:10 -0000 Subject: [Cluster-devel] cluster/cman/daemon logging.c Message-ID: <20071029175610.19203.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL5 Changes by: rmccabe at sourceware.org 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)