]> git.refcnt.org Git - colorize.git/commitdiff
init_conf_vars(): use explicit format string
authorSteven Schubiger <stsc@refcnt.org>
Thu, 26 Mar 2020 19:51:30 +0000 (20:51 +0100)
committerSteven Schubiger <stsc@refcnt.org>
Thu, 26 Mar 2020 19:51:30 +0000 (20:51 +0100)
colorize.c

index 50011e29615c986320137e200fa33e5ad801d07b..622f609a73b6f6ae32f9ff9d3a8fe244d1cf4605 100644 (file)
@@ -779,7 +779,7 @@ init_conf_vars (const struct conf *config)
         else if (streq (config->omit_color_empty, "no"))
           omit_color_empty = false;
         else
-          vfprintf_fail ("omit-color-empty conf option is not valid");
+          vfprintf_fail (formats[FMT_GENERIC], "omit-color-empty conf option is not valid");
       }
 }