diff options
author | Tor Egge <Tor.Egge@online.no> | 2023-01-31 13:13:49 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2023-01-31 13:13:49 +0100 |
commit | a42caabd3dd49d8d2bf9897923746a480de1884f (patch) | |
tree | a03ad103d07c75ff3857c5cb5cd05d3207666987 /vespalib | |
parent | 8dca74eb0879fe0e530c783d74a355747422aeec (diff) |
Adjust buffer sizes.
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/fastlib/io/bufferedfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/fastlib/io/bufferedfile.cpp b/vespalib/src/vespa/fastlib/io/bufferedfile.cpp index 3f5563560d0..31ca735a0bb 100644 --- a/vespalib/src/vespa/fastlib/io/bufferedfile.cpp +++ b/vespalib/src/vespa/fastlib/io/bufferedfile.cpp @@ -185,7 +185,7 @@ Fast_BufferedFile::SetPosition(const int64_t s) } diff = _filepos - s; if ( !(((diff > 0l) || ((diff == 0l) && (_fileleft == 0l))) && (diff <= static_cast<int64_t>(_buf.size())))) { - char tmp[8196]; + char tmp[64]; snprintf(tmp, sizeof(tmp), "diff %" PRId64 " _fileleft=%" PRId64 " _buflen=%zu", diff, _fileleft, _buf.size()); abort(); } |