projects
/
barrelfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
25c8dde
)
numatest: adding +1 to print the correct values
author
Reto Achermann
<reto.achermann@inf.ethz.ch>
Wed, 10 Jun 2015 11:59:46 +0000 (13:59 +0200)
committer
Reto Achermann
<reto.achermann@inf.ethz.ch>
Wed, 10 Jun 2015 12:00:55 +0000 (14:00 +0200)
Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>
usr/tests/numa/numatest.c
patch
|
blob
|
history
diff --git
a/usr/tests/numa/numatest.c
b/usr/tests/numa/numatest.c
index
e9b7085
..
6da3903
100644
(file)
--- a/
usr/tests/numa/numatest.c
+++ b/
usr/tests/numa/numatest.c
@@
-21,8
+21,8
@@
int main (void)
debug_printf("numa test started...\n");
if (numa_available() == SYS_ERR_OK) {
- debug_printf("num nodes=%u\n", numa_max_node());
- debug_printf("num cores: %u\n", numa_max_core());
+ debug_printf("num nodes=%u\n", numa_max_node() + 1);
+ debug_printf("num cores: %u\n", numa_max_core() + 1);
} else {
debug_printf("numa not available\n");
}