summaryrefslogtreecommitdiff
path: root/source3/rpcclient/display_sec.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient/display_sec.c')
-rw-r--r--source3/rpcclient/display_sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/display_sec.c b/source3/rpcclient/display_sec.c
index e0e3bf0831..44e7e6e8aa 100644
--- a/source3/rpcclient/display_sec.c
+++ b/source3/rpcclient/display_sec.c
@@ -54,7 +54,7 @@ static const char *get_sec_mask_str(uint32 type)
typestr[0] = 0;
for (i = 0; i < 32; i++)
{
- if (IS_BITS_SET_ALL(type, 1 << i))
+ if (type & (1 << i))
{
switch (1 << i)
{