aboutsummaryrefslogtreecommitdiffstats
path: root/src/chgrp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/chgrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index 0102ef098..b9e3f4387 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -158,7 +158,7 @@ Examples:\n\
%s -hR staff /u Change the group of /u and subfiles to \"staff\".\n\
"),
program_name, program_name);
- emit_bug_reporting_address ();
+ emit_ancillary_info ();
}
exit (status);
}
@@ -293,7 +293,7 @@ main (int argc, char **argv)
gid = parse_group (group_name);
}
- if (chopt.recurse & preserve_root)
+ if (chopt.recurse && preserve_root)
{
static struct dev_ino dev_ino_buf;
chopt.root_dev_ino = get_root_dev_ino (&dev_ino_buf);