From: Steven Schubiger Date: Wed, 23 May 2018 18:33:27 +0000 (+0200) Subject: Const pointers X-Git-Tag: v0.64~4 X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=commitdiff_plain;h=997dfe07ff91a013f37c744554aaa8b9d8b5539c Const pointers --- 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)