aboutsummaryrefslogtreecommitdiff
path: root/src/or/scheduler_kist.c
diff options
context:
space:
mode:
authorMatt Traudt <sirmatt@ksu.edu>2017-12-11 09:32:47 -0500
committerMatt Traudt <sirmatt@ksu.edu>2017-12-11 09:43:09 -0500
commit667f9311776af65f7546a70c8ad5c27e0d23a02b (patch)
tree3b9cce840400b70c8bf34900347f3c34ff1bd830 /src/or/scheduler_kist.c
parent8797c8fbd34132f462be4a4544270ee1b8a071cf (diff)
downloadtor-667f9311776af65f7546a70c8ad5c27e0d23a02b.tar.gz
tor-667f9311776af65f7546a70c8ad5c27e0d23a02b.zip
Make get_scheduler_state_string available to scheduler*.c
Diffstat (limited to 'src/or/scheduler_kist.c')
-rw-r--r--src/or/scheduler_kist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c
index 5e0e8be45c..f3e6243a86 100644
--- a/src/or/scheduler_kist.c
+++ b/src/or/scheduler_kist.c
@@ -627,11 +627,11 @@ kist_scheduler_run(void)
log_debug(LD_SCHED,
"We didn't flush anything on a chan that we think "
"can write and wants to write. The channel's state is '%s' "
- "and in scheduler state %d. We're going to mark it as "
+ "and in scheduler state '%s'. We're going to mark it as "
"waiting_for_cells (as that's most likely the issue) and "
"stop scheduling it this round.",
channel_state_to_string(chan->state),
- chan->scheduler_state);
+ get_scheduler_state_string(chan->scheduler_state));
scheduler_set_channel_state(chan, SCHED_CHAN_WAITING_FOR_CELLS);
continue;
}