From 3e5f30ab669c4555d7be2c98f9eb89a3c0f8f930 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Mon, 21 Mar 2005 05:49:33 +0000 Subject: . Fix a typo that results in an undefined reference (sizof -> sizeof). PR: 77725 Submitted by: Anthony Ginepro --- .../files/patch-j2se::management::UnixOperatingSystem_md.c | 13 +++++++++++++ .../files/patch-j2se::management::UnixOperatingSystem_md.c | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 java/jdk15/files/patch-j2se::management::UnixOperatingSystem_md.c create mode 100644 java/jdk16/files/patch-j2se::management::UnixOperatingSystem_md.c (limited to 'java') 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; + -- cgit v1.2.3