[project @ 2005-11-28 14:37:56 by simonmar]
authorsimonmar <unknown>
Mon, 28 Nov 2005 14:37:56 +0000 (14:37 +0000)
committersimonmar <unknown>
Mon, 28 Nov 2005 14:37:56 +0000 (14:37 +0000)
small fix to debugging output

ghc/rts/Schedule.c

index d1a6a55..c4b253f 100644 (file)
@@ -633,8 +633,8 @@ run_thread:
     // immediately and return to normaility.
     if (ret == ThreadBlocked) {
        IF_DEBUG(scheduler,
-                debugBelch("--<< thread %d (%s) stopped: blocked\n",
-                           t->id, whatNext_strs[t->what_next]));
+                sched_belch("--<< thread %d (%s) stopped: blocked\n",
+                            t->id, whatNext_strs[t->what_next]));
        continue;
     }
 #endif