Commit 00f1a4ab authored by Douglas Wilson's avatar Douglas Wilson Committed by Ben Gamari
Browse files

rts: fix some barf format specifiers.

Reviewers: bgamari, erikd, simonmar

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4390
parent 3cd1305f
......@@ -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);
......
......@@ -536,7 +536,7 @@ void osCommitMemory(void *at, W_ size)
{
void *r = my_mmap(at, size, MEM_COMMIT);
if (r == NULL) {
barf("Unable to commit %lu bytes of memory", size);
barf("Unable to commit %" FMT_Word " bytes of memory", size);
}
}
......
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