[project @ 2005-04-22 21:16:27 by simonmar]
[ghc-hetmet.git] / ghc / rts / Apply.cmm
index 2c7a0e9..1fe444e 100644 (file)
@@ -41,7 +41,7 @@ INFO_TABLE_RET( stg_ap_0,
     // fn is in R1, no args on the stack
 
     IF_DEBUG(apply,
-       foreign "C" fprintf(stderr, stg_ap_0_ret_str);
+       foreign "C" fprintf(W_[stderr] "ptr", stg_ap_0_ret_str);
        foreign "C" printClosure(R1 "ptr"));
 
     IF_DEBUG(sanity,