From 1457be81f01a30adb734727f4c843f39bcb82037 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 2 Sep 2003 09:20:05 +0000 Subject: [PATCH] [project @ 2003-09-02 09:20:05 by simonmar] Fix cut-n-pasto in delayzh_fast --- ghc/rts/PrimOps.hc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/rts/PrimOps.hc b/ghc/rts/PrimOps.hc index 45717e5..6acb8bd 100644 --- a/ghc/rts/PrimOps.hc +++ b/ghc/rts/PrimOps.hc @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: PrimOps.hc,v 1.110 2003/07/23 13:39:11 simonmar Exp $ + * $Id: PrimOps.hc,v 1.111 2003/09/02 09:20:05 simonmar Exp $ * * (c) The GHC Team, 1998-2002 * @@ -1634,7 +1634,7 @@ FN_(delayzh_fast) ACQUIRE_LOCK(&sched_mutex); #ifdef mingw32_TARGET_OS /* could probably allocate this on the heap instead */ - ares = (StgAsyncIOResult*)RET_STGCALL2(P_,stgMallocBytes,sizeof(StgAsyncIOResult), "asyncWritezh_fast"); + ares = (StgAsyncIOResult*)RET_STGCALL2(P_,stgMallocBytes,sizeof(StgAsyncIOResult), "delayzh_fast"); reqID = RET_STGCALL1(W_,addDelayRequest,R1.i); ares->reqID = reqID; ares->len = 0; -- 1.7.10.4