summaryrefslogtreecommitdiff
path: root/usr.bin/elfctl
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-03-02 14:34:26 +0000
committerEd Maste <emaste@FreeBSD.org>2020-03-02 14:34:26 +0000
commitba6d70a06504b0547fc3f927399598fe8afb73cb (patch)
treeede34bdec18a7bcc8b21c05845df116aba6b7306 /usr.bin/elfctl
parent15f8f7200f876574f6bb795f341e085eaee089cc (diff)
downloadsrc-test2-ba6d70a06504b0547fc3f927399598fe8afb73cb.tar.gz
src-test2-ba6d70a06504b0547fc3f927399598fe8afb73cb.zip
elfctl: tiny style(9) cleanup, use bool where appropriate
Notes
Notes: svn path=/head/; revision=358546
Diffstat (limited to 'usr.bin/elfctl')
-rw-r--r--usr.bin/elfctl/elfctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/elfctl/elfctl.c b/usr.bin/elfctl/elfctl.c
index abc2758b8acc..f1f5071337e5 100644
--- a/usr.bin/elfctl/elfctl.c
+++ b/usr.bin/elfctl/elfctl.c
@@ -85,12 +85,12 @@ main(int argc, char **argv)
GElf_Ehdr ehdr;
Elf *elf;
Elf_Kind kind;
- int ch, fd, editfeatures, retval;
+ int ch, fd, retval;
char *features;
- bool lflag;
+ bool editfeatures, lflag;
lflag = 0;
- editfeatures = 0;
+ editfeatures = false;
retval = 0;
features = NULL;
@@ -105,7 +105,7 @@ main(int argc, char **argv)
break;
case 'e':
features = optarg;
- editfeatures = 1;
+ editfeatures = true;
break;
case 'h':
default: