From d55bee44179f7dcfebd8eaf1b99730c8473dadea Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Fri, 14 Jan 2011 16:01:43 -0800 Subject: Further corrections to the logging layer in runtime. --- src/rt/rust_task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust_task.cpp') diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 1522fccc..68882b21 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -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); -- cgit v1.2.3