aboutsummaryrefslogtreecommitdiffstats
path: root/reporthandler.cpp
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-08-21 15:23:10 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-08-21 15:23:10 -0300
commitba699548a0f398d2ba808ad88c61cd8b9a7c888a (patch)
treedbfbda803f777c97f3ea0c11a7be58594eb7d63f /reporthandler.cpp
parent72a8d046e16268669e18940c3ebf22ecae6ef581 (diff)
- Fix compilation when using restritive security flags -Wformat
- Werror=format-security in gcc Thanks Helio Castro. fixes bug#8
Diffstat (limited to 'reporthandler.cpp')
-rw-r--r--reporthandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/reporthandler.cpp b/reporthandler.cpp
index c0310081..18a9a9c1 100644
--- a/reporthandler.cpp
+++ b/reporthandler.cpp
@@ -83,7 +83,7 @@ void ReportHandler::progress(const QString& str, ...)
void ReportHandler::printProgress()
{
- printf(m_progressBuffer);
+ printf("%s", m_progressBuffer);
fflush(stdout);
}