aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2005-03-21 05:49:33 +0000
committerGreg Lewis <glewis@FreeBSD.org>2005-03-21 05:49:33 +0000
commit3e5f30ab669c4555d7be2c98f9eb89a3c0f8f930 (patch)
tree9ea8559af581512511f20f42dec4e173dff6c634 /java
parent760bd5c4bb8c8b3515cc456bd392eef097c2c52c (diff)
downloadports-3e5f30ab669c4555d7be2c98f9eb89a3c0f8f930.tar.gz
ports-3e5f30ab669c4555d7be2c98f9eb89a3c0f8f930.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/jdk15/files/patch-j2se::management::UnixOperatingSystem_md.c13
-rw-r--r--java/jdk16/files/patch-j2se::management::UnixOperatingSystem_md.c13
2 files changed, 26 insertions, 0 deletions
diff --git a/java/jdk15/files/patch-j2se::management::UnixOperatingSystem_md.c b/java/jdk15/files/patch-j2se::management::UnixOperatingSystem_md.c
new file mode 100644
index 000000000000..befa6bf882c1
--- /dev/null
+++ b/java/jdk15/files/patch-j2se::management::UnixOperatingSystem_md.c
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- ../../j2se/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c.orig Sat Feb 19 12:50:03 2005
++++ ../../j2se/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c Fri Feb 18 20:26:04 2005
+@@ -283,7 +283,7 @@
+
+ mib[0] = CTL_HW;
+ mib[1] = HW_PHYSMEM;
+- rlen = sizof(result);
++ rlen = sizeof(result);
+ if (sysctl(mib, 2, &result, &rlen, NULL, 0) == -1)
+ result = 256 * MB;
+
diff --git a/java/jdk16/files/patch-j2se::management::UnixOperatingSystem_md.c b/java/jdk16/files/patch-j2se::management::UnixOperatingSystem_md.c
new file mode 100644
index 000000000000..befa6bf882c1
--- /dev/null
+++ b/java/jdk16/files/patch-j2se::management::UnixOperatingSystem_md.c
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- ../../j2se/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c.orig Sat Feb 19 12:50:03 2005
++++ ../../j2se/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c Fri Feb 18 20:26:04 2005
+@@ -283,7 +283,7 @@
+
+ mib[0] = CTL_HW;
+ mib[1] = HW_PHYSMEM;
+- rlen = sizof(result);
++ rlen = sizeof(result);
+ if (sysctl(mib, 2, &result, &rlen, NULL, 0) == -1)
+ result = 256 * MB;
+