diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-05-30 18:08:16 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-05-30 18:08:16 +0100 |
commit | afb0e34e214bb84ef56065bed62d3b5145d6ed6b (patch) | |
tree | bd77bc0eea36fa00496ab2a18c5aff0da5ab8248 | |
parent | 58467dd19bc7eacad18448ac41c8bdeacd489a7b (diff) |
HACK: numa: fix OSX errorxopen-source
-rw-r--r-- | numa.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } |