chiark / gitweb /
only report "reporting" if we actually have something
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Mar 2014 03:21:57 +0000 (03:21 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Mar 2014 03:21:57 +0000 (03:21 +0000)
main.c

diff --git a/main.c b/main.c
index 3fa6ad3..2cf9940 100644 (file)
--- a/main.c
+++ b/main.c
@@ -250,8 +250,8 @@ static void mc_iterate_worker(void) {
     iterate_recurse(mc_org_it_bound, mc_iter_min);
     multicore_iteration_boundary = mc_org_it_bound;
   }
-  LPRINTF("worker %2d reporting",mc_us->w);
   if (best_adjmatrix) {
+    LPRINTF("worker %2d reporting",mc_us->w);
     adjmatrix = best_adjmatrix;
     mc_rwvsetup_full();
     ssize_t r = writev(fileno(mc_us->results), mc_iov, mc_niovs);