aboutsummaryrefslogtreecommitdiffstats
path: root/src/chmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chmod.c')
-rw-r--r--src/chmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chmod.c b/src/chmod.c
index 6bd2ee4a5..78d9c9cba 100644
--- a/src/chmod.c
+++ b/src/chmod.c
@@ -139,12 +139,12 @@ mode_changed (int dir_fd, char const *file, char const *file_full_name,
CHANGED describes what (if anything) has happened. */
static void
-describe_change (const char *file, mode_t old_mode, mode_t mode,
+describe_change (char const *file, mode_t old_mode, mode_t mode,
enum Change_status changed)
{
char perms[12]; /* "-rwxrwxrwx" ls-style modes. */
char old_perms[12];
- const char *fmt;
+ char const *fmt;
if (changed == CH_NOT_APPLIED)
{