diff --git a/reactos/lib/ntdll/rtl/sid.c b/reactos/lib/ntdll/rtl/sid.c index b6d6a0b72f3..e848b21c7da 100644 --- a/reactos/lib/ntdll/rtl/sid.c +++ b/reactos/lib/ntdll/rtl/sid.c @@ -1,4 +1,4 @@ -/* $Id: sid.c,v 1.2 2000/04/15 23:10:41 ekohl Exp $ +/* $Id: sid.c,v 1.3 2002/06/15 10:10:19 ekohl Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -68,7 +68,7 @@ BOOLEAN STDCALL RtlEqualSid (PSID Sid1, PSID Sid2) { return(FALSE); } - if (memcmp(Sid1, Sid2, RtlLengthSid(Sid1) != 0)) + if (memcmp(Sid1, Sid2, RtlLengthSid(Sid1)) != 0) { return(FALSE); } diff --git a/reactos/ntoskrnl/se/sid.c b/reactos/ntoskrnl/se/sid.c index 7a65fed36b9..36cbe005359 100644 --- a/reactos/ntoskrnl/se/sid.c +++ b/reactos/ntoskrnl/se/sid.c @@ -1,4 +1,4 @@ -/* $Id: sid.c,v 1.8 2002/02/20 20:15:38 ekohl Exp $ +/* $Id: sid.c,v 1.9 2002/06/15 10:10:43 ekohl Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -532,7 +532,7 @@ RtlEqualSid(PSID Sid1, { return(FALSE); } - if (memcmp(Sid1, Sid2, RtlLengthSid(Sid1) != 0)) + if (memcmp(Sid1, Sid2, RtlLengthSid(Sid1)) != 0) { return(FALSE); }