Author: emaste
Date: Mon Mar  2 14:34:26 2020
New Revision: 358546
URL: https://svnweb.freebsd.org/changeset/base/358546

Log:
  elfctl: tiny style(9) cleanup, use bool where appropriate

Modified:
  head/usr.bin/elfctl/elfctl.c

Modified: head/usr.bin/elfctl/elfctl.c
==============================================================================
--- head/usr.bin/elfctl/elfctl.c        Mon Mar  2 14:06:50 2020        
(r358545)
+++ head/usr.bin/elfctl/elfctl.c        Mon Mar  2 14:34:26 2020        
(r358546)
@@ -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:
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to