From ba6d70a06504b0547fc3f927399598fe8afb73cb Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 2 Mar 2020 14:34:26 +0000 Subject: [PATCH] elfctl: tiny style(9) cleanup, use bool where appropriate --- usr.bin/elfctl/elfctl.c | 8 ++++---- 1 file 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: