]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
lib/lock: fix an ifdef
authorVMware, Inc <>
Thu, 17 Jun 2010 21:34:21 +0000 (14:34 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Thu, 17 Jun 2010 21:34:21 +0000 (14:34 -0700)
An ifdef sneeked in that is not in the style of the rest of the code.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/lock/ul.c

index fc1774d80decd67e6a986eb25e6753ad519198ba..e7cece7360b5b6b93909380be52b097ec37a8509 100644 (file)
@@ -264,7 +264,7 @@ MXUserAcquisitionTracking(MXUserHeader *header,  // IN:
 
    ASSERT_NOT_IMPLEMENTED(perThread->locksHeld < MXUSER_MAX_LOCKS_PER_THREAD);
 
-#ifdef DISABLE_MXUSER_LOCK_RANKS
+#if defined(DISABLE_MXUSER_LOCK_RANKS)
    checkRank = FALSE;
 #endif