debug message tweaks
authorSimon Marlow <marlowsd@gmail.com>
Wed, 23 Jul 2008 09:00:50 +0000 (09:00 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 23 Jul 2008 09:00:50 +0000 (09:00 +0000)
rts/Schedule.c
rts/Sparks.c

index ce6a1db..c6fb1d8 100644 (file)
@@ -1645,7 +1645,7 @@ scheduleHandleHeapOverflow( Capability *cap, StgTSO *t )
     }
     
     debugTrace(DEBUG_sched,
-              "--<< thread %ld (%s) stopped: HeapOverflow\n", 
+              "--<< thread %ld (%s) stopped: HeapOverflow",
               (long)t->id, whatNext_strs[t->what_next]);
 
 #if defined(GRAN)
index 5ea296d..49f319c 100644 (file)
@@ -214,7 +214,7 @@ updateSparkQueue (Capability *cap)
                n, pruned_sparks);
     
     debugTrace(DEBUG_sched,
-               "new spark queue len=%d; (hd=%p; tl=%p)\n",
+               "new spark queue len=%d; (hd=%p; tl=%p)",
                sparkPoolSize(pool), pool->hd, pool->tl);
 }