src/hotspot/os/linux/os_linux.cpp
branchihse-cflags-rewrite-branch
changeset 56221 bdf8f77aad3a
parent 48865 53427ddce0a0
child 56312 a52bcf4118eb
--- a/src/hotspot/os/linux/os_linux.cpp	Thu Mar 01 15:47:48 2018 +0100
+++ b/src/hotspot/os/linux/os_linux.cpp	Thu Mar 01 17:00:23 2018 +0100
@@ -2154,7 +2154,7 @@
     }
 
     p = OSContainer::cpu_cpuset_memory_nodes();
-    if (p < 0)
+    if (p == NULL)
       st->print("cpu_memory_nodes() failed\n");
     else {
       st->print("cpu_memory_nodes: %s\n", p);