Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
98120df8
Commit
98120df8
authored
Jan 15, 2014
by
Jonathan Jenkins
Browse files
oopsie with msg print
parent
a658a451
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/concurrent-msg-recv.c
View file @
98120df8
...
...
@@ -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
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment