From: Michael Orlitzky Date: Tue, 27 Sep 2016 19:20:27 +0000 (-0400) Subject: Make the usage() function argument program_name const. X-Git-Tag: v0.0.5~4 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=b70d254436f1c3304d5ae98e82cb81340854d820;p=apply-default-acl.git Make the usage() function argument program_name const. --- diff --git a/src/apply-default-acl.c b/src/apply-default-acl.c index 0f7e9ae..465f70a 100644 --- a/src/apply-default-acl.c +++ b/src/apply-default-acl.c @@ -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] [ [ ...]]\n\n",