Commit 98120df8 authored by Jonathan Jenkins's avatar Jonathan Jenkins

oopsie with msg print

parent a658a451
......@@ -18,7 +18,7 @@
/**** BEGIN SIMULATION DATA STRUCTURES ****/
#define NUM_REQS 2
#define NUM_REQS 1
#define TEST_DEBUG 1
......@@ -420,7 +420,7 @@ void dump_state(tw_lp *lp, testsvr_state *ns, FILE *f){
int written = sprintf(buf, "idx:%d LP:%lu, event_cnt:%d, [%d",
ns->idx, lp->gid, ns->event_ctr, ns->req_stat[0]);
int req;
for (req = 0; req < NUM_REQS; req++){
for (req = 1; req < NUM_REQS; req++){
written += sprintf(buf+written, ",%d",ns->req_stat[req]);
}
sprintf(buf+written, "]\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment