]> gitweb.michael.orlitzky.com - apply-default-acl.git/blobdiff - src/apply-default-acl.c
Make the usage() function argument program_name const.
[apply-default-acl.git] / 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",