Re-enable tidy (it was broken) and fix various non-tidy things.

This commit is contained in:
Graydon Hoare
2011-06-29 15:11:20 -07:00
parent 190644063e
commit c796a8f24d
17 changed files with 51 additions and 39 deletions

View File

@@ -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);