aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rc/checkpath.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index f984da32..518d2373 100644
--- a/src/rc/checkpath.c
+++ b/src/rc/checkpath.c
@@ -223,20 +223,20 @@ checkpath(int argc, char **argv)
struct group *gr = NULL;
inode_t type = inode_unknown;
int retval = EXIT_SUCCESS;
- bool trunc = 0;
- bool chowner = 0;
+ bool trunc = false;
+ bool chowner = false;
while ((opt = getopt_long(argc, argv, getoptstring,
longopts, (int *) 0)) != -1)
{
switch (opt) {
case 'D':
- trunc = 1;
+ trunc = true;
case 'd':
type = inode_dir;
break;
case 'F':
- trunc = 1;
+ trunc = true;
case 'f':
type = inode_file;
break;
@@ -249,7 +249,7 @@ checkpath(int argc, char **argv)
applet, optarg);
break;
case 'o':
- chowner = 1;
+ chowner = true;
if (parse_owner(&pw, &gr, optarg) != 0)
eerrorx("%s: owner `%s' not found",
applet, optarg);