diff --git a/arangosh/V8Client/ImportHelper.cpp b/arangosh/V8Client/ImportHelper.cpp index d2454c8583..5d2bb56609 100644 --- a/arangosh/V8Client/ImportHelper.cpp +++ b/arangosh/V8Client/ImportHelper.cpp @@ -415,8 +415,8 @@ namespace triagens { double pct = 100.0 * ((double) totalRead / (double) totalLength); if (pct >= nextProgress && totalLength >= 1024) { - LOG_INFO("processed %lld bytes (%0.2f%%) of input file", (long long) totalRead, pct); - nextProgress = pct + ProgressStep; + LOG_INFO("processed %lld bytes (%0.1f%%) of input file", (long long) totalRead, nextProgress); + nextProgress = (double) ((int) (pct + ProgressStep)); } }