diff options
author | glewis <glewis@FreeBSD.org> | 2005-03-21 13:49:33 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2005-03-21 13:49:33 +0800 |
commit | 0254966f21bb0996a11dba8f580e9acb2f94bd0b (patch) | |
tree | 175be5eeba0abe4dd792c32b1795a91f9322ee1b /java/jdk16/files | |
parent | 855917764553aaad9908d18190793973f9eaeccd (diff) | |
download | freebsd-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.c | 13 |
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; + |