Scripts for bootstrapping various programming languages
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
351 B

--- jdk10u-jdk-10.0.2+13.orig/src/hotspot/os/linux/os_linux.cpp
+++ jdk10u-jdk-10.0.2+13/src/hotspot/os/linux/os_linux.cpp
@@ -2155,7 +2155,7 @@
}
p = OSContainer::cpu_cpuset_memory_nodes();
- if (p < 0)
+ if (p < (void *)0)
st->print("cpu_memory_nodes() failed\n");
else {
st->print("cpu_memory_nodes: %s\n", p);