Further corrections to the logging layer in runtime.

This commit is contained in:
Graydon Hoare
2011-01-14 16:01:43 -08:00
parent 5b9eda4a41
commit d55bee4417
4 changed files with 8 additions and 6 deletions

View File

@@ -631,7 +631,7 @@ rust_task::get_crate_cache(rust_crate const *curr_crate)
void
rust_task::log(uint32_t type_bits, char const *fmt, ...) {
char buf[256];
char buf[BUF_BYTES];
if (dom->get_log().is_tracing(type_bits)) {
va_list args;
va_start(args, fmt);