aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_kernel.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_kernel.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_kernel.cpp')
-rw-r--r--src/rt/rust_kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp
index 0dc1369d..df6b655a 100644
--- a/src/rt/rust_kernel.cpp
+++ b/src/rt/rust_kernel.cpp
@@ -119,7 +119,7 @@ rust_kernel::is_deadlocked() {
void
rust_kernel::log(uint32_t type_bits, char const *fmt, ...) {
- char buf[256];
+ char buf[BUF_BYTES];
if (_log.is_tracing(type_bits)) {
va_list args;
va_start(args, fmt);