aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-01-14 16:01:43 -0800
committerGraydon Hoare <[email protected]>2011-01-14 16:50:37 -0800
commitd55bee44179f7dcfebd8eaf1b99730c8473dadea (patch)
tree8be1ee5181f8c9f8e473f43dffff61a9db8d474a /src/rt/rust_task.cpp
parentFix the import handling in "complex" cases. When looking a.b.c and 'a' is a (diff)
downloadrust-d55bee44179f7dcfebd8eaf1b99730c8473dadea.tar.xz
rust-d55bee44179f7dcfebd8eaf1b99730c8473dadea.zip
Further corrections to the logging layer in runtime.
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp2
1 files changed, 1 insertions, 1 deletions
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);