diff --git a/include/winnt.h b/include/winnt.h index 0be60405987..5c58656f634 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 e8e85fcbd92..ab07a81474d 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 {