aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/elfctl/elfctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/elfctl/elfctl.c b/usr.bin/elfctl/elfctl.c
index f641b63e32bd..300a66eb516e 100644
--- a/usr.bin/elfctl/elfctl.c
+++ b/usr.bin/elfctl/elfctl.c
@@ -261,7 +261,7 @@ convert_to_feature_val(char *feature_str, uint32_t *feature_val)
warn("%s invalid", feature);
return (false);
}
- input != val;
+ input |= val;
} else {
warnx("%s is not a valid feature", feature);
if (!iflag)