Description: postLogMsg/traceCap_stderr expect a pointer in the final position, give it
Author: Iain Lane <laney@ubuntu.com>
Forwarded: not-needed

Index: ubuntu/rts/eventlog/EventLog.c
===================================================================
--- ubuntu.orig/rts/eventlog/EventLog.c	2011-01-14 09:51:50.464182162 +0000
+++ ubuntu/rts/eventlog/EventLog.c	2011-01-14 09:51:50.594192217 +0000
@@ -438,7 +438,7 @@
 
 void postUserMsg(Capability *cap, char *msg, va_list ap)
 {
-    postLogMsg(&capEventBuf[cap->no], EVENT_USER_MSG, msg, ap);
+    postLogMsg(&capEventBuf[cap->no], EVENT_USER_MSG, msg, &ap);
 }    
 
 void closeBlockMarker (EventsBuf *ebuf)
Index: ubuntu/rts/Trace.c
===================================================================
--- ubuntu.orig/rts/Trace.c	2011-01-17 08:55:26.302077745 +0000
+++ ubuntu/rts/Trace.c	2011-01-17 08:55:52.234079187 +0000
@@ -288,7 +288,7 @@
 
 #ifdef DEBUG
     if (RtsFlags.TraceFlags.tracing == TRACE_STDERR) {
-        traceCap_stderr(cap, msg, ap);
+        traceCap_stderr(cap, msg, &ap);
     } else
 #endif
     {
