aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2018-05-23 20:33:27 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2018-05-23 20:33:27 +0200
commit997dfe07ff91a013f37c744554aaa8b9d8b5539c (patch)
tree818d310f8c40329b2ab96ce86d934f5b93202700 /colorize.c
parentc6f1715053160df72b63ffc852da15e2c5ca44c4 (diff)
downloadcolorize-997dfe07ff91a013f37c744554aaa8b9d8b5539c.tar.gz
colorize-997dfe07ff91a013f37c744554aaa8b9d8b5539c.tar.bz2
Const pointers
Diffstat (limited to 'colorize.c')
-rw-r--r--colorize.c4
1 files 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)