X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=action.cc;h=486e89ee54aaddc8ea302c64b3a1eccef786a28c;hb=e83585ce14ab6ae325c83d815dce8eb77b0e5897;hp=1387ed15b67c9ac25d7fcba68491bbb72d8ff236;hpb=15fabc6f4e6591341940a8087a8dd088af59bb5c;p=model-checker.git diff --git a/action.cc b/action.cc index 1387ed1..486e89e 100644 --- a/action.cc +++ b/action.cc @@ -468,22 +468,22 @@ void ModelAction::print() const break; } - printf("(%4d) Thread: %-2d Action: %-13s MO: %7s Loc: %14p Value: %-#18" PRIx64, + model_print("(%4d) Thread: %-2d Action: %-13s MO: %7s Loc: %14p Value: %-#18" PRIx64, seq_number, id_to_int(tid), type_str, mo_str, location, valuetoprint); if (is_read()) { if (reads_from) - printf(" Rf: %-3d", reads_from->get_seq_number()); + model_print(" Rf: %-3d", reads_from->get_seq_number()); else - printf(" Rf: ? "); + model_print(" Rf: ? "); } if (cv) { if (is_read()) - printf(" "); + model_print(" "); else - printf(" "); + model_print(" "); cv->print(); } else - printf("\n"); + model_print("\n"); } /** @brief Print nicely-formatted info about this ModelAction */