From 5cd3bcab863301553cd678b33082d758d329e5c9 Mon Sep 17 00:00:00 2001 From: "doheon1.lee" Date: Mon, 3 Apr 2017 15:17:06 +0900 Subject: [PATCH] fsconfig: Use defined macro for masking Mask opeation with CAP_ prefixed name can be wrapped with CAP_MASK_LONG macro. Change-Id: Ide31ad62fac0d28e7a02e45059fe6d2461da7e27 --- tools/fs_config/fs_config_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/fs_config/fs_config_generator.py b/tools/fs_config/fs_config_generator.py index 2cf2fd87e..c8d1dd33a 100755 --- a/tools/fs_config/fs_config_generator.py +++ b/tools/fs_config/fs_config_generator.py @@ -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