On Wed, 2009-03-04 at 10:59 +0100, Fabio M. Di Nitto wrote:
> Hi Steven,
>
> as you also pointed out on IRC we were not updating format_buffer but
> only a random pointer.
>
> Patch in attachment fixes that.
>
> Please ACK or apply.
>
> Fabio
this time with the right patch attached... sorry
fabio
Index: exec/logsys.c
===================================================================
--- exec/logsys.c (revision 1788)
+++ exec/logsys.c (working copy)
@@ -112,8 +112,6 @@
static int logsys_facility = LOG_DAEMON;
-static char *logsys_format = NULL;
-
/*
* operating global variables
*/
@@ -875,7 +873,7 @@
{
pthread_mutex_lock (&logsys_config_mutex);
- logsys_format = format;
+ format_buffer = format;
pthread_mutex_unlock (&logsys_config_mutex);
}
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais