]> gitweb.michael.orlitzky.com - apply-default-acl.git/commitdiff
Make the usage() function argument program_name const.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 27 Sep 2016 19:20:27 +0000 (15:20 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 27 Sep 2016 19:20:27 +0000 (15:20 -0400)
src/apply-default-acl.c

index 0f7e9ae91deb8c477c0fbae6b8161fc8d6fa2850..465f70ad9794f55220f43abb8692d833238d2e4d 100644 (file)
@@ -794,7 +794,7 @@ int apply_default_acl(const char* path, bool no_exec_mask) {
  *   The program name to use in the output.
  *
  */
-void usage(char* program_name) {
+void usage(const char* program_name) {
   printf("Apply any applicable default ACLs to the given files or "
         "directories.\n\n");
   printf("Usage: %s [flags] <target1> [<target2> [ <target3>...]]\n\n",