aboutsummaryrefslogtreecommitdiff
path: root/numa.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-05-30 18:08:16 +0100
committerPeter Maydell <peter.maydell@linaro.org>2017-05-30 18:08:16 +0100
commitafb0e34e214bb84ef56065bed62d3b5145d6ed6b (patch)
treebd77bc0eea36fa00496ab2a18c5aff0da5ab8248 /numa.c
parent58467dd19bc7eacad18448ac41c8bdeacd489a7b (diff)
HACK: numa: fix OSX errorxopen-source
Diffstat (limited to 'numa.c')
-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;
}