cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] cluster/cman/daemon logging.c
@ 2007-09-19 12:49 pcaulfield
  0 siblings, 0 replies; 2+ messages in thread
From: pcaulfield @ 2007-09-19 12:49 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	pcaulfield at sourceware.org	2007-09-19 12:49:38

Modified files:
	cman/daemon    : logging.c 

Log message:
	Don't use _logsys functions as I get my wrist slapped.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/logging.c.diff?cvsroot=cluster&r1=1.15&r2=1.16

--- cluster/cman/daemon/logging.c	2007/09/17 08:03:36	1.15
+++ cluster/cman/daemon/logging.c	2007/09/19 12:49:37	1.16
@@ -30,7 +30,7 @@
 
 void init_debug(int subsystems)
 {
-	logsys_subsys_id = _logsys_subsys_create("CMAN", (subsystems?LOG_LEVEL_DEBUG:LOG_LEVEL_WARNING) );
+	logsys_subsys_id = logsys_config_subsys_set ("CMAN", LOGSYS_TAG_LOG, (subsystems?LOG_LEVEL_DEBUG:LOG_LEVEL_WARNING) );
 	logsys_config_mode_set(LOG_MODE_BUFFER_BEFORE_CONFIG | ((subsystems)?LOG_MODE_OUTPUT_STDERR:0));
 	subsys_mask = subsystems;
 }



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Cluster-devel] cluster/cman/daemon logging.c
@ 2007-10-29 17:56 rmccabe
  0 siblings, 0 replies; 2+ messages in thread
From: rmccabe @ 2007-10-29 17:56 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-29 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29 17:56 [Cluster-devel] cluster/cman/daemon logging.c rmccabe
  -- strict thread matches above, loose matches on Subject: below --
2007-09-19 12:49 pcaulfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).