summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-05 16:14:04 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-05 16:14:07 -0400
commitcb4d738c36072b33a1068c79c6f24372a7b6d6e2 (patch)
tree26c4e750ad7c9c25e77fc8984e95193b5a90df6c
parenta18e0ef50f677afbffe0c122d012ffe8c1c3d8b0 (diff)
downloadroux-cb4d738c36072b33a1068c79c6f24372a7b6d6e2.tar.gz
fix debug output of liveness
-rw-r--r--lisc/live.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisc/live.c b/lisc/live.c
index 3e7a2a5..b0a4186 100644
--- a/lisc/live.c
+++ b/lisc/live.c
@@ -97,11 +97,11 @@ Again:
 	if (debug['L']) {
 		fprintf(stderr, "\n> Liveness analysis:\n");
 		for (b=f->start; b; b=b->link) {
-			printf("\t%-10s in:  ", b->name);
+			fprintf(stderr, "\t%-10sin:   ", b->name);
 			dumpts(&b->in, f->tmp, stderr);
-			printf("\t          out: ");
+			fprintf(stderr, "\t          out:  ");
 			dumpts(&b->out, f->tmp, stderr);
-			printf("\t          nlive: %d\n", b->nlive);
+			fprintf(stderr, "\t          live: %d\n", b->nlive);
 		}
 	}
 }