summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorTAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp>2017-06-01 13:33:21 -0700
committerTAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp>2017-06-01 13:33:21 -0700
commitcd3b603d9ebf5c305802b33d789ca610141e869b (patch)
treead15733091409806ebf7fdd844e93c8c57d99a95 /main.c
parente7c88e4b8d0513967c220e419cbe76b5a575300d (diff)
Fix "format string is not a string literal" warnings. (closes #3949)
Mutt calls msgfmt with '-c' to verify that translation format strings match, but it is still safer to indirect strings with no formatting through %s.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 0244b2d0..0d3ea522 100644
--- a/main.c
+++ b/main.c
@@ -699,7 +699,7 @@ int main (int argc, char **argv, char **environ)
}
printf (_("Debugging at level %d.\n"), debuglevel);
#else
- printf _("DEBUG was not defined during compilation. Ignored.\n");
+ printf ("%s", _("DEBUG was not defined during compilation. Ignored.\n"));
#endif
break;