mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fixed the wrong parameter odering in a call to memset in EiAddSharedOwner.
svn path=/trunk/; revision=3007
This commit is contained in:
parent
69671d74e1
commit
2422bc4676
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: resource.c,v 1.17 2001/06/20 19:59:35 ekohl Exp $
|
||||
/* $Id: resource.c,v 1.18 2002/06/05 19:36:10 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -245,7 +245,7 @@ static BOOLEAN EiAddSharedOwner(PERESOURCE Resource)
|
|||
KeBugCheck(0);
|
||||
return(FALSE);
|
||||
}
|
||||
memset(Resource->OwnerTable,sizeof(OWNER_ENTRY)*3,0);
|
||||
memset(Resource->OwnerTable,0,sizeof(OWNER_ENTRY)*3);
|
||||
memcpy(&Resource->OwnerTable[0], &Resource->OwnerThreads[1],
|
||||
sizeof(OWNER_ENTRY));
|
||||
|
||||
|
|
Loading…
Reference in a new issue