aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk16/files
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2005-03-21 13:49:33 +0800
committerglewis <glewis@FreeBSD.org>2005-03-21 13:49:33 +0800
commit0254966f21bb0996a11dba8f580e9acb2f94bd0b (patch)
tree175be5eeba0abe4dd792c32b1795a91f9322ee1b /java/jdk16/files
parent855917764553aaad9908d18190793973f9eaeccd (diff)
downloadfreebsd-ports-gnome-0254966f21bb0996a11dba8f580e9acb2f94bd0b.tar.gz
freebsd-ports-gnome-0254966f21bb0996a11dba8f580e9acb2f94bd0b.tar.zst
freebsd-ports-gnome-0254966f21bb0996a11dba8f580e9acb2f94bd0b.zip
. Fix a typo that results in an undefined reference (sizof -> sizeof).
PR: 77725 Submitted by: Anthony Ginepro <anthony.ginepro@laposte.net>
Diffstat (limited to 'java/jdk16/files')
-rw-r--r--java/jdk16/files/patch-j2se::management::UnixOperatingSystem_md.c13
1 files changed, 13 insertions, 0 deletions
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;
+