Skip to content
Snippets Groups Projects
Commit 288983a3 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix build failure with -Werror=format-security

See Debian bug #646258 (http://bugs.debian.org/646258) and
http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags for details.
(manually cherry picked from commit d4b4060d)
parent 236aac5c
No related branches found
Tags
No related merge requests found
......@@ -26,7 +26,7 @@ void SylvException::printMessage() const
char mes[1500];
mes[0] = '\0';
printMessage(mes, 1499);
printf(mes);
puts(mes);
}
int SylvException::printMessage(char* str, int maxlen) const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment