From 997dfe07ff91a013f37c744554aaa8b9d8b5539c Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Wed, 23 May 2018 20:33:27 +0200 Subject: [PATCH] Const pointers --- colorize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colorize.c b/colorize.c index 9c30aeb..d7d014f 100644 --- a/colorize.c +++ b/colorize.c @@ -339,8 +339,8 @@ main (int argc, char **argv) vfprintf_fail (formats[FMT_GENERIC], "--clean and --clean-all switch are mutually exclusive"); if (arg_cnt > 1) { - const char *format = "%s %s"; - const char *message = "switch cannot be used with more than one file"; + const char *const format = "%s %s"; + const char *const message = "switch cannot be used with more than one file"; if (clean) vfprintf_fail (format, "--clean", message); else if (clean_all) -- 2.39.2