diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2011-06-29 15:11:20 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-06-29 15:14:55 -0700 |
| commit | c796a8f24dfa94a1614da70fbf25b63d3709a116 (patch) | |
| tree | 14043d11f35f457ee9a09cabd7fdadb4669fa376 /src/rt/circular_buffer.cpp | |
| parent | 190644063e7081fe715b01dc8d27daec509b6114 (diff) | |
| download | rust-c796a8f24dfa94a1614da70fbf25b63d3709a116.tar.gz rust-c796a8f24dfa94a1614da70fbf25b63d3709a116.zip | |
Re-enable tidy (it was broken) and fix various non-tidy things.
Diffstat (limited to 'src/rt/circular_buffer.cpp')
| -rw-r--r-- | src/rt/circular_buffer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rt/circular_buffer.cpp b/src/rt/circular_buffer.cpp index 8c0067ff002..191ec7c5756 100644 --- a/src/rt/circular_buffer.cpp +++ b/src/rt/circular_buffer.cpp @@ -154,7 +154,8 @@ void circular_buffer::shrink() { size_t new_buffer_sz = _buffer_sz / 2; I(sched, initial_size() <= new_buffer_sz); - DLOG(sched, mem, "circular_buffer is shrinking to %d bytes", new_buffer_sz); + DLOG(sched, mem, "circular_buffer is shrinking to %d bytes", + new_buffer_sz); void *new_buffer = task->malloc(new_buffer_sz); transfer(new_buffer); task->free(_buffer); |
