aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/setpriv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/setpriv.c b/util-linux/setpriv.c
index 5c532d637..76fb62c22 100644
--- a/util-linux/setpriv.c
+++ b/util-linux/setpriv.c
@@ -235,7 +235,7 @@ static void parse_cap(unsigned long *index, const char *cap)
# if ENABLE_FEATURE_SETPRIV_CAPABILITY_NAMES
for (i = 0; i < ARRAY_SIZE(capabilities); i++) {
- if (strcmp(capabilities[i], cap) != 0)
+ if (strcasecmp(capabilities[i], cap) != 0)
continue;
if (!cap_valid(i))