Merge "fsconfig: Use defined macro for masking"

This commit is contained in:
Elliott Hughes 2017-04-03 21:21:54 +00:00 committed by Gerrit Code Review
commit 35eaf52ee2

View file

@ -709,7 +709,7 @@ class FSConfigFileParser(object):
int(cap, 0)
tmp.append('(' + cap + ')')
except ValueError:
tmp.append('(1ULL << CAP_' + cap.upper() + ')')
tmp.append('CAP_MASK_LONG(CAP_' + cap.upper() + ')')
caps = tmp