[PATCH 1/1] Fix definition name

Nikolay Sivov nsivov at codeweavers.com
Wed Aug 3 04:11:20 CDT 2011


---
 include/winnt.h |    2 +-
 server/token.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/winnt.h b/include/winnt.h
index 0be6040..5c58656 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -4041,7 +4041,7 @@ typedef struct _ACL_SIZE_INFORMATION
 
 #define SE_PRIVILEGE_ENABLED_BY_DEFAULT 0x00000001
 #define SE_PRIVILEGE_ENABLED 		0x00000002
-#define SE_PRIVILEGE_REMOVE		0x00000004
+#define SE_PRIVILEGE_REMOVED		0x00000004
 #define SE_PRIVILEGE_USED_FOR_ACCESS 	0x80000000
 
 #define PRIVILEGE_SET_ALL_NECESSARY     1
diff --git a/server/token.c b/server/token.c
index e8e85fc..ab07a81 100644
--- a/server/token.c
+++ b/server/token.c
@@ -724,7 +724,7 @@ static unsigned int token_adjust_privileges( struct token *token, const LUID_AND
             continue;
         }
 
-        if (privs[i].Attributes & SE_PRIVILEGE_REMOVE)
+        if (privs[i].Attributes & SE_PRIVILEGE_REMOVED)
             privilege_remove( privilege );
         else
         {
-- 
1.5.6.5


--------------080805050100090407090706--



More information about the wine-patches mailing list