Skip to content
Browse files

o more include missing.

o info how to change prediction.
  • Loading branch information...
1 parent 145e419 commit ab13f793d6e2ff20c495367b7dc6e6df702bfad5 @hzeller committed Oct 14, 2012
Showing with 4 additions and 3 deletions.
  1. +3 −2 convolve-file-handler.cc
  2. +1 −1 util.cc
View
5 convolve-file-handler.cc
@@ -491,11 +491,12 @@ void ConvolveFileHandler::Close() {
if (factor > fs_->file_oversize_factor()) {
syslog(LOG_WARNING, "File larger than prediction: "
"%lldx%.2f=%lld < %lld (x%4.2f) '%s'; "
- "naive streamer implementations might trip.",
+ "naive streamer implementations might trip "
+ "(adapt prediction with -O %.2f)",
(long long)original_file_size_, fs_->file_oversize_factor(),
(long long)(original_file_size_ * fs_->file_oversize_factor()),
(long long)output_buffer_->FileSize(), factor,
- base_stats_.filename.c_str());
+ base_stats_.filename.c_str(), factor);
}
}
View
2 util.cc
@@ -23,8 +23,8 @@
#include <sys/resource.h>
#include <sys/syscall.h> // need to call gettid syscall.
#include <sys/time.h>
-#include <sys/time.h>
#include <syslog.h>
+#include <unistd.h>
#include <cstdarg>
#include <string.h>

0 comments on commit ab13f79

Please sign in to comment.
Something went wrong with that request. Please try again.