aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/elfctl
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-01-22 21:23:12 +0000
committerEd Maste <emaste@FreeBSD.org>2021-01-22 21:35:05 +0000
commitf302fd1aa6730facd53a3f761e0a57302731b03e (patch)
tree9a6c0a2c0be2c43a3e5b7f4a85f5bb3dd0e76f6f /usr.bin/elfctl
parent86f33b5fcf6087bf4439881011b920ff99e6e300 (diff)
downloadsrc-f302fd1aa6730facd53a3f761e0a57302731b03e.tar.gz
src-f302fd1aa6730facd53a3f761e0a57302731b03e.zip
Diffstat (limited to 'usr.bin/elfctl')
-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)