Skip to content

Commit 1358de4

Browse files
tool: minor error message style
Signed-off-by: Ivan Velickovic <i.velickovic@unsw.edu.au>
1 parent 9c5b306 commit 1358de4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tool/microkit/src/sdf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ impl ProtectionDomain {
547547
let cpu = CpuCore(
548548
sdf_parse_number(node.attribute("cpu").unwrap_or("0"), node)?
549549
.try_into()
550-
.expect("cpu # fits in u8"),
550+
.expect("cpu core must be between 0 and 255"),
551551
);
552552

553553
if cpu.0 >= config.num_cores {

0 commit comments

Comments
 (0)