From 5dda8ab12999d6f434a6d5f3746b48b757acb7b7 Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Thu, 18 Apr 2013 12:25:03 +0300 Subject: [PATCH] sketch: Make rust sketch barf output prettier --- src/rt/rust_exchange_alloc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rt/rust_exchange_alloc.cpp b/src/rt/rust_exchange_alloc.cpp index a92bc4edd41..5958c68f3e7 100644 --- a/src/rt/rust_exchange_alloc.cpp +++ b/src/rt/rust_exchange_alloc.cpp @@ -48,8 +48,8 @@ rust_get_exchange_count_ptr() { void rust_check_exchange_count_on_exit() { if (exchange_count != 0) { - printf("exchange heap not empty on on exit"); - printf("%d dangling allocations", (int)exchange_count); + printf("exchange heap not empty on exit\n"); + printf("%d dangling allocations\n", (int)exchange_count); abort(); } }