[project @ 2004-08-17 08:18:41 by simonpj]
authorsimonpj <unknown>
Tue, 17 Aug 2004 08:18:41 +0000 (08:18 +0000)
committersimonpj <unknown>
Tue, 17 Aug 2004 08:18:41 +0000 (08:18 +0000)
Typo in windows-specific code

ghc/rts/HeapStackCheck.cmm

index 516d0ad..88d1806 100644 (file)
@@ -862,7 +862,7 @@ INFO_TABLE_RET( stg_block_async, 0/*framesize*/, 0/*bitmap*/, RET_SMALL )
 
     ares = StgTSO_block_info(CurrentTSO);
     len = StgAsyncIOResult_len(ares);
-    errC = StgAsyncIOResult_errC(ares);
+    errC = StgAsyncIOResult_errCode(ares);
     StgTSO_block_info(CurrentTSO) = NULL;
     foreign "C" free(ares);
     R1 = len;