summaryrefslogtreecommitdiff
path: root/rts/Schedule.c
diff options
context:
space:
mode:
authorDouglas Wilson <douglas.wilson@gmail.com>2018-02-06 17:27:32 -0500
committerBen Gamari <ben@smart-cactus.org>2018-02-06 17:27:33 -0500
commit00f1a4ab80b201ce15c509126f89c5a108786f32 (patch)
tree562bedf2d1eb6615ba3b54eca47bb13a9a0f3ae2 /rts/Schedule.c
parent3cd1305ffcc4a5e3269aeb2e0694dddb7ca480d0 (diff)
downloadhaskell-00f1a4ab80b201ce15c509126f89c5a108786f32.tar.gz
rts: fix some barf format specifiers.
Reviewers: bgamari, erikd, simonmar Reviewed By: bgamari Subscribers: rwbarton, thomie, carter Differential Revision: https://phabricator.haskell.org/D4390
Diffstat (limited to 'rts/Schedule.c')
-rw-r--r--rts/Schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Schedule.c b/rts/Schedule.c
index 349a77839a..f1363e46ee 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -271,7 +271,7 @@ schedule (Capability *initialCapability, Task *task)
}
break;
default:
- barf("sched_state: %ld", sched_state);
+ barf("sched_state: %" FMT_Word, sched_state);
}
scheduleFindWork(&cap);