commit | afb0e34e214bb84ef56065bed62d3b5145d6ed6b | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Tue May 30 18:08:16 2017 +0100 |
committer | Peter Maydell <peter.maydell@linaro.org> | Tue May 30 18:08:16 2017 +0100 |
tree | bd77bc0eea36fa00496ab2a18c5aff0da5ab8248 | |
parent | 58467dd19bc7eacad18448ac41c8bdeacd489a7b [diff] |
HACK: numa: fix OSX error
diff --git a/numa.c b/numa.c index ca73145..92a9e8c 100644 --- a/numa.c +++ b/numa.c
@@ -231,8 +231,7 @@ 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; }