aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/numa.c b/numa.c
index ca731455e9..92a9e8c46d 100644
--- a/numa.c
+++ b/numa.c
@@ -231,8 +231,7 @@ static void parse_numa_distance(NumaDistOptions *dist, Error **errp)
if (src >= MAX_NODES || dst >= MAX_NODES) {
error_setg(errp,
- "Invalid node %" PRIu16
- ", max possible could be %" PRIu16,
+ "Invalid node %u, max possible could be %u",
MAX(src, dst), MAX_NODES);
return;
}