From: VMware, Inc <> Date: Thu, 17 Jun 2010 21:26:27 +0000 (-0700) Subject: Fix the build X-Git-Tag: 2010.06.16-268169~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14512abc681106efcd61f0c5090e02eeb176b118;p=thirdparty%2Fopen-vm-tools.git Fix the build Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/lock/ulInt.h b/open-vm-tools/lib/lock/ulInt.h index af3034494..0a5ec0255 100644 --- a/open-vm-tools/lib/lock/ulInt.h +++ b/open-vm-tools/lib/lock/ulInt.h @@ -101,7 +101,8 @@ MXRecLockCreateInternal(MXRecLock *lock) // IN/OUT: { /* http://msdn.microsoft.com/en-us/library/ms682530(VS.85).aspx */ /* magic number - allocate resources immediately; spin 0x400 times */ - return InitializeCriticalSectionAndSpinCount(nativeLock, 0x80000400) != 0; + return InitializeCriticalSectionAndSpinCount(&lock->nativeLock, + 0x80000400) != 0; }