sketch: Make rust sketch barf output prettier

This commit is contained in:
Marti Raudsepp 2013-04-18 12:25:03 +03:00
parent 3499a37b06
commit 5dda8ab129

View file

@ -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();
}
}