summaryrefslogtreecommitdiff
path: root/test/perf-test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/perf-test.cc')
-rw-r--r--test/perf-test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/perf-test.cc b/test/perf-test.cc
index a9fa50b1..135ed345 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -1,4 +1,5 @@
/* Copyright Krzysztof Kowalczyk 2006-2007
+ Copyright Hib Eris <hib@hiberis.nl> 2008
License: GPLv2 */
/*
A tool to stress-test poppler rendering and measure rendering times for
@@ -802,7 +803,7 @@ void LogInfo(char *fmt, ...)
va_start(args, fmt);
p += _vsnprintf(p, sizeof(buf) - 1, fmt, args);
*p = '\0';
- fprintf(gOutFile, buf);
+ fprintf(gOutFile, "%s", buf);
va_end(args);
fflush(gOutFile);
}